Questions tagged [laravel-socialite]

Socialite is a package that provides a simple, convenient way to authenticate with OAuth providers within the Laravel framework.

For Laravel 5.6 this link will help to integrate third party platforms like facebook, twitter, linkedin, google, github or bitbucket

To integrate other platforms like Instagram, LinkedIn , Medium , this link is very beneficial.

606 questions
-1
votes
1 answer

Can't use socialite on lumen 5.2

Here is my config socialite for lumen but I got error: Fatal error: Call to a member function set() on null Any idea? my AuthController namespace App\Http\Controllers; use Socialite; class AuthController extends Controller { public function…
shahrokh
  • 142
  • 2
  • 13
-1
votes
3 answers

Socialite Auth: How do I include more than one redirect uri for each service?

Or how can i dynamically set the redirect uri? I'm constantly having to solve merge conflicts because my local and production server use different redirects. Or maybe I should add services.php to gitignore? my service.php 'google' =>[ …
jackjoesmith
  • 951
  • 4
  • 20
  • 33
-1
votes
3 answers

How can I get the list of user_friends from a Facebook authorized user?

I was researching about the possibility of viewing the list of friends for a certain user after the user authorizes the application to view his user_friends, but I did not quite grasp the idea, so I was wondering, is there a direct way to view the…
-2
votes
1 answer

Ask User's Password When Logging with Social Account - Laravel Socialite

I have fully functional Socialite social login with Google and Facebook but i want to add another step that is "ask a password before logging in". This function logs the user immediately after successfully logging in with the provider: public…
Yamin Ooh
  • 25
  • 5
-2
votes
1 answer

How to get users additional information using Laravel Facebook Socialite

I am trying to get the users additional information like gender, birthdate, email, and hometown. I am using this code below: $user = Socialite::driver('facebook')->fields([ 'first_name', 'last_name', 'email', 'gender',…
Eem Jee
  • 1,239
  • 5
  • 30
  • 64
-3
votes
1 answer

how user get token for subsequent request after loging in particular app by Google account

I'm a newbie in web development. Currently, I've learnt laravel framework and be researching about passport and socialite. I'm being stuck that after logging in the application successfully by their Facebook account how users get the access token…
NhatThanh
  • 1
  • 1
1 2 3
40
41