With Nhost, it's easy to sign in users with external OAuth providers. OAuth providers are configured in the Nhost console at Settings -> Sign-in methods.
#Supported OAuth providers
You must first set the auth redirect URLs to start using an OAuth provider. The redirect URL specifies where your users should return to once the signup/signin is complete.
If you develop locally, set the Redirect URLs to your local web app. Ex http://localhost:3000.
#How to sign up and sign in users
The flow for both signup and signin is the same. Link to
https://backend-REPLACE.nhost.app/auth/providers/[provider] in your signup/signin page.
[provider] can be one of