diff --git a/.llms-snapshots/llms-full.txt b/.llms-snapshots/llms-full.txt index 6df7074e..60f3b619 100644 --- a/.llms-snapshots/llms-full.txt +++ b/.llms-snapshots/llms-full.txt @@ -914,7 +914,7 @@ import { signIn } from "@junobuild/core";await signIn({ google: { redirect: After authentication, Google redirects the user back to your app with a signed token. You must handle that redirect on the route that matches your configured `redirectUrl`. For example, `/auth/callback/google`. ``` -import { handleRedirectCallback } from "@junobuild/core";await handleRedirectCallback(); +import { handleRedirectCallback } from "@junobuild/core";await handleRedirectCallback({ google: null }); ``` If the callback is successful, the user is signed in and a session is created. diff --git a/docs/build/authentication/google.md b/docs/build/authentication/google.md index 0fc861e6..ab2c4733 100644 --- a/docs/build/authentication/google.md +++ b/docs/build/authentication/google.md @@ -201,7 +201,7 @@ After authentication, Google redirects the user back to your app with a signed t ```typescript import { handleRedirectCallback } from "@junobuild/core"; -await handleRedirectCallback(); +await handleRedirectCallback({ google: null }); ``` If the callback is successful, the user is signed in and a session is created.