A URL in your app that receives the authentication response after a user completes OAuth sign-in with an external provider.
An OAuth Callback (also called a redirect URI) is the URL where your app receives the authentication response after a user signs in through an external provider like Google.
Here's how it fits into the OAuth flow:
/auth/callback)The callback URL must be registered in both the OAuth provider (Google Cloud Console) and your Supabase dashboard. If the URLs don't match exactly, Authentication will fail with a "redirect URL mismatch" error.
In a React app using React Router, the callback is typically a Route that checks the session and redirects the user to the main page.
Learn the concepts, fix things with confidence, and ship real products with AI beside you. No coding background required, and we're with you from the first idea to launch.
Free to start. No card. Leave whenever you want.