From b934a674a0802e736701cb8fa0c41973d1d81133 Mon Sep 17 00:00:00 2001 From: sajadmh <75350476+sajadmh@users.noreply.github.com> Date: Sat, 16 Nov 2024 00:47:17 -0800 Subject: [PATCH] docs: update google guide (#554) --- docs/content/docs/authentication/google.mdx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/content/docs/authentication/google.mdx b/docs/content/docs/authentication/google.mdx index 234e7a1e..b9769a18 100644 --- a/docs/content/docs/authentication/google.mdx +++ b/docs/content/docs/authentication/google.mdx @@ -8,8 +8,7 @@ description: Google Provider ### Get your Google credentials To use Google as a social provider, you need to get your Google credentials. You can get them by creating a new project in the [Google Cloud Console](https://console.cloud.google.com/apis/dashboard). - Make sure to set the redirect URL to `http://localhost:3000/api/auth/callback/google` for local development. For production, you should set it to the URL of your application. If you change the base path of the auth routes, you should update the redirect URL accordingly. - + In the Google Cloud Console > Credentials > Authorized redirect URIs, make sure to set the redirect URL to `http://localhost:3000/api/auth/callback/google` for local development. For production, make sure to set the redirect URL as your application domain, e.g. `https://example.com/api/auth/callback/google`. If you change the base path of the auth routes, you should update the redirect URL accordingly. ### Configure the provider @@ -66,4 +65,4 @@ const data = await client.signIn.social({ If you want to use google one tap, you can use the [One Tap Plugin](/docs/plugins/one-tap) guide. - \ No newline at end of file +