简体   繁体   中英

Using Laravel socialite with CLI

Can socialite authenticate from the CLI without the need to use curl? my purpose is to get data from angellist every two hours and store them in the database. so I thought I can have a scheduler to run every two hours. but I need to be authenticated and I don't want to use curl as socialite has many features already in place.

I love to hear your suggestions.

I recommend using Mozilla Persona for user authentication, that way you don't have to worry about which social login the user has/doesn't have.

It's probably easier to set up too, and you don't need an https certificate because the the authentication is happening elsewhere (like social auth).

Here's a link to the setup

Here's a link to the setup

Here's a php code example

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM