Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

docs: Update auth-google.mdx (#18119)

Isaac Abotsic5f9e4b04a9c
diff --git a/apps/docs/pages/guides/auth/social-login/auth-google.mdx b/apps/docs/pages/guides/auth/social-login/auth-google.mdx
index 464e6dd4293..404baeea85f 100644
--- a/apps/docs/pages/guides/auth/social-login/auth-google.mdx
+++ b/apps/docs/pages/guides/auth/social-login/auth-google.mdx
@@ -110,6 +110,7 @@ Before you can use Sign in with Google, you need to obtain a [Google Cloud Platf
```ts
async function handleSignInWithGoogle(response) {
const { data, error } = await supabase.auth.signInWithIdToken({
+ provider: 'google',
token: response.credential,
nonce: 'NONCE', // must be the same one as provided in data-nonce (if any)
})