#Laravel Auth Question
8 messages · Page 1 of 1 (latest)
Not sure what you're asking, what does "auth with an external API" mean?
For APIs you'd use things like oauth, or simple bearer tokens
It's like I want to use authentication in laravel but the data is from an external API
So PKCE oauth?
What's PKCE oauth? sorry I'm new to this
Well, one way would be to use oauth. The C# app would be the provider, then your Laravel app uses an oauth client (such as Socialite), the user would be redirected to the C# app, where they sign in. Then the Laravel app retrieves the credentials for that user (name, email, not password, a token to consume the API).
But yeah, it's rather difficult to give any sort of advice if you don't know what your requirements are, what you want to do, what this integration needs to be