Add Google sign-in
① Live → ② Accounts work → ③ Merge = deployed → ④ Features → ⑤ Taking payments
Your app is live and accounts work. This optional page lets people sign in with Google. The Login with Google button is already in the app; it works once your hosted Supabase project knows your Google client.
Give your agent this prompt
Prepare Google sign-in for my hosted app.
Follow https://coremvp.com/en/docs/deployment/google-sign-in.md and its prerequisites.
Finish when Google sign-in reaches the dashboard; ask me before Google or Supabase changes, including client and credential setup, or any production change; never print secrets.
Report what changed, the check results and anything you could not run.You'll need
A Google Cloud project (free). Your app URL, or your own domain if you add it first.
Create the Google client
Follow Supabase's Google setup guide to configure the consent screen and create an OAuth client of type Web application. In Google's Authorized JavaScript origins, add your app origin. In Authorized redirect URIs, add your Supabase callback:
https://<project-ref>.supabase.co/auth/v1/callbackFor an external app in Testing, Google generally limits authorization to listed test users. Standard Sign in with Google and requests limited to name, email and profile are exceptions; an internal audience is limited to its organization. Check your requested scopes and intended audience in Google’s audience guide.
Turn on Google in Supabase
In your hosted project, open Authentication → Sign In / Providers → Google, paste the client ID and secret, and save.
Your app's /auth/callback redirect is already allowed from
Add your database.
Nothing changes in your host, so no redeploy is needed.
Check it works
On your app URL, open /signin, choose Login with Google and approve. You
land on the dashboard, signed in. Reaching Google's consent screen alone is not
a pass.
For how the callback works and how to add GitHub, see OAuth providers.
What's next
Was this page helpful?