Social authentication with Inertia #4762
-
I'm new to Adonis and Inertia. Can you guide me on integrating social authentication (like Google, Facebook, etc.) into my Adonis application using Inertia? |
Beta Was this translation helpful? Give feedback.
Answered by
RomainLanz
Oct 13, 2024
Replies: 2 comments
-
Hey @kbarbier! 👋🏻 What have you tried so far? It should work similarly to a standard API or SSR setup. Your app will make a request to AdonisJS, which then redirects to the OAuth provider. After authentication, the OAuth provider sends the user back to your callback route. 📚 https://docs.adonisjs.com/guides/authentication/social-authentication |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
kbarbier
-
client
backend
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @kbarbier! 👋🏻
What have you tried so far?
It should work similarly to a standard API or SSR setup. Your app will make a request to AdonisJS, which then redirects to the OAuth provider. After authentication, the OAuth provider sends the user back to your callback route.
📚 https://docs.adonisjs.com/guides/authentication/social-authentication