1 year ago
#365090
Tomy Grenier
How to use Laravel Passport to secure multiple users and external apps
I want to use my Laravel Passport and Breeze app to authenticate a pure standalone PHP app, a node API, and another database system using OAuth2.
Multiple users will use these apps, and I would like to create an SSO, so they don't have to connect on each or manually enter client id and secret.
I tried the PHP League OAuth Client https://oauth2-client.thephpleague.com/usage/ and the passport.js, and everything works fine with the Laravel Passport app I have to enter the client ID and the secret manually. So I want to find a connecting flow so that users don't have to do so.
Which flow would you suggest to me? Do you have any examples I could learn from?
oauth-2.0
single-sign-on
passport.js
laravel-passport
laravel-9
0 Answers
Your Answer