All Questions
Tagged with laravel-socialite authentication
29
questions
0
votes
0
answers
144
views
Social Login on Multi-Tenant Application Built with Laravel 11 and Socialite
I'm building a multi-tenant application with Laravel 11. I wish to offer Social login using Google and LinkedIn. Using Laravel Socialite, it's easy to implement it for the main domain.
I need help ...
0
votes
0
answers
72
views
I couldn't go through Middleware in Laravel
I use Laravel Socialite to make login function, I wanna check if not exsisting email in database then go to register form, if email exist then login but i cannot go through middleware although I write ...
1
vote
1
answer
251
views
Laravel sessions are destroyed after login from Google
I am using Laravel Shopping cart and Laravel Socialite for login, login works fine but when the user logs in it deletes his Cart and all other sesshions on the page, do you know how to fix it ? ...
0
votes
1
answer
206
views
How to bypass Socialite in development?
I am using a KeyCloak login in production, but in development, I would like to log in with the default user populated in seeders. I tried to bypass the authenticate method with this:
<?php
...
0
votes
1
answer
2k
views
Secure Laravel API with keycloak using socialite provider
im using Keycloak for an SSO to authenticate user that already exist in server (keycloak). I used Socialite provider and i can now authenticate user and access their token on Keycloak. But i want now ...
0
votes
0
answers
238
views
Laravel Socialite Call Back Redirect To Login Again After Auth Login
I'm using Laravel socialiteproviders Microsoft for authentication. The callback is working fine and user details also return correctly. But after I check some conditions and redirect to user profile ...
0
votes
0
answers
1k
views
Laravel Socialite Providers - Microsoft Issue
When implementing Laravel Socialite Providers for Microsoft to authenticate users below issue throws. How to fix this.
GuzzleHttp\Exception\ClientException
Client error: POST https://login....
1
vote
1
answer
185
views
Laravel Socialite - Upgrade Twitch scopes
I'm developing web app with Laravel stack on back server and NuxtJS on front server. I already use Socialite with socialiteprovider/twitch to sign user in stateless and all works fine.
Now the problem ...
1
vote
0
answers
797
views
Laravel 8 Socialite check login
is there a way to check if the user has logged in with a Socialite?
because i want to create a post based on this authentication.
what i have done
if (!empty(Socialite::driver('linkedin')->...
1
vote
0
answers
101
views
Dynamic Parameters for Common OAUTH2 Providers
We have an application which supports login with OAUTH2 through Google, Facebook, Twitter, Microsoft (Live), and LinkedIn. We were asked to add multiple session support to the login page, so if you ...
1
vote
1
answer
3k
views
Laravel socialite login after successful auth not redirecting
I have a laravel project that uses google to login. I am using socialite package from laravel. I can save the user's info in my database after they confirm in the google auth screen, but after that it ...
1
vote
1
answer
799
views
Logout from Github Laravel Socialite
I have made an api in laravel with socialite and github and I need to log out so that the application asks me with which github account I want to log in every time.
0
votes
1
answer
479
views
Laravel loginUsingId() didnt remeber the login state on new page
I am trying to integrate Socialite in my laravel web app.
When I am trying to login with FB ID using loginUsingId() it makes user login and redirect to homepage as expected, but when I visited some ...
0
votes
1
answer
2k
views
Laravel Socialite callback auth('customer')->user() is null
Laravel 6
There are 2 possible scenario:
Logged in user connect to Google account
Guest user connect to Google account (will create a new user if not exists)
Let's talk about the first scenario
In ...
0
votes
1
answer
114
views
auth()->login($user) is not giving required results
I am using php laravel to write login using Facebook and Google. For that i need user to login manually. I used auth()->login($user). But it does not work.
LoginController function
public function ...