Watch: Let people sign in with Google | Vovy
Watch Vovy do it on a Mac: "Add a Continue with Google button to my app". Vovy creates a Google OAuth client, connects it to Supabase, and adds a working Continue with Google button, including the redirect URI that trips everyone up.
"Add a Continue with Google button to my app"
Vovy creates a Google OAuth client, connects it to Supabase, and adds a working Continue with Google button, including the redirect URI that trips everyone up.
What happens in the video
- Set up the Google consent screen: Vovy opens Google Auth Platform in Google Cloud Console and fills in your app name, support email and logo. This is the screen users see when choosing their Google account.
- Create a web OAuth client: It creates a Web application client and pastes your Supabase callback URL, which ends in /auth/v1/callback, as the Authorized redirect URI. A mismatch here causes "redirect_uri_mismatch".
- Paste the keys into Supabase: Vovy copies the Client ID and Client Secret into Authentication, Sign In / Providers, Google, and saves. The secret never touches your frontend code.
- Add the button to your app: In Cursor it adds a Continue with Google button that calls signInWithOAuth with a redirectTo back to your app.
- Test the full round trip: Vovy clicks the button in Chrome and pauses so you pick your own Google account. It confirms you land back logged in and shows the new user in Supabase.
Read the step-by-step guideLoading...