Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .llms-snapshots/llms-full.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion docs/build/authentication/google.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down