Skip to main content

Questions tagged [laravel-socialite]

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

laravel-socialite
0 votes
1 answer
665 views

Error when trying to add Apple SSO using the Apple provider to Laravel Socialite

I'm attempting to add Apple single sign on to my web application, powered by Laravel. I'm utilizing the javascript version of their sign in, which I'm not wedded to but seems like their preferred ...
daprezjer's user avatar
  • 875
0 votes
1 answer
326 views

I Con't Add Multi Google Account Using Laravel 10 and Socialite

I Try To Create Multi Google Services Using Laravel 10 And Socialite; In Services.php I add : 'sign_in_google' => [ 'client_id' => env('SIGN_IN_GOOGLE_ID'), 'client_secret' => env('...
Ramy Mohamed's user avatar
0 votes
1 answer
1k views

Laravel Socialite With Apple return "Invalid JWT Signature"

I try to use provided token to fetch current user data as API but I keep received error "Invalid JWT Signature". I had follow different tutorials like bannister AND devpeel but both also ...
Dirty Rex's user avatar
1 vote
2 answers
1k views

Getting Error "Undefined type 'Laravel\Socialite\Facades\Socialite'.intelephense(1009)"

I'm getting this weird error. Although i have performed the required steps of installing the "Socialite" package , for instance i have edit the "providers" and "aliases" ...
Muhammad Khan's user avatar
0 votes
1 answer
504 views

Authorization code grant with Socialite setup

I'm trying to implement an Authorization code grant with Socialite. I'm able successfully to receive users in the callback, but struggling to set up the other part of auth. I've created the personal ...
henrbu's user avatar
  • 169
1 vote
1 answer
436 views

Laravel 9: Socialite: cURL error 7: (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://www.googleapis.com/oauth2/v4/token"

I have been struggling for the past week with this error, and I cannot find one like mine online. I am developing an application with Laravel 9 that let the user log in using the Google Account. ...
Drinu89's user avatar
  • 43
0 votes
1 answer
694 views

saml2 not working with laravel socialite providers package

My aim is to integrate an okta sso app that uses saml2 protocol. My project is built upon laravel and I'm using this package to help me integrate saml2. As per the docs I have implemented the ...
Tanzim Chowdhury's user avatar
1 vote
0 answers
376 views

Laravel Socialite Callback URL not approved for this client application

I tried to add Twitter OAuth to my Laravel App, I followed multiple tutorials but always had the same issue. Received HTTP status code [403] with message "<?xml version='1.0' encoding='UTF-8'?&...
Francisco Flores's user avatar
0 votes
1 answer
509 views

How do I get a user's organization id when they login with Microsoft oauth?

I try to implement the microsoft auth into my application using Laravel Socialite, but since I'm working in a multi-tenant environment, I need to assign a user to a organisation. Is there anything ...
JanKrb's user avatar
  • 1
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 ? ...
Pepa Zdepa's user avatar
0 votes
1 answer
1k views

Error Laravel\Socialite\Two\InvalidStateException In the callback method from the Google side

I want use Socialite package but receive in Error ! controller codes : namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use App\User; use Laravel\Socialite\Facades\Socialite; ...
Ali Salehi's user avatar
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 ...
nowox's user avatar
  • 28k
2 votes
1 answer
783 views

SPA OAuth2 social sign in - can you directly link to provider instead of redirecting?

I have a SPA that uses Laravel Sanctum for authentication. I am implementing OAuth2 social sign in. In a server side rendered application this is how social sign in would work: User submits a form ...
Peter Hegman's user avatar
1 vote
0 answers
1k views

Laravel Socialite can't login with apple

I try to add Log in With Apple in my Flutter App With Laravel Backend. In Flutter I use sign_in_with_apple: ^4.1.0 for generate identityToken, and now I Have to Get User Data With Laravel so I use ...
Michel E Ibrahim's user avatar
0 votes
0 answers
56 views

Oauth permanent token when authenticating via social login

I have a web and android applications. I want both apps to login users using their social media handles. I want to use google facebook twitter tiktok apple I have looked at how facebook ...
Gandalf's user avatar
  • 13.6k

15 30 50 per page
1 2 3
4
5
42