Skip to content

Commit

Permalink
PR comments #3
Browse files Browse the repository at this point in the history
  • Loading branch information
infomiho committed Aug 8, 2024
1 parent 4af397b commit 9586476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/docs/auth/auth-hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ Read more about the data the `onAfterSignup` hook receives in the [API Reference

Wasp calls the `onBeforeOAuthRedirect` hook after the OAuth redirect URL is generated but before redirecting the user. This hook can access the request object sent from the client at the start of the OAuth process.

The `onBeforeOAuthRedirect` hook can be useful if you want to save some data (e.g. request query parameters) that can be used later in the OAuth flow. You can use the `uniqueRequestId` parameter to reference this data later in the `onAfterSignup` or `onAfterLogin` hooks.
The `onBeforeOAuthRedirect` hook can be useful if you want to save some data (e.g. request query parameters) that you can use later in the OAuth flow. You can use the `uniqueRequestId` parameter to reference this data later in the `onAfterSignup` or `onAfterLogin` hooks.

Works with <DiscordPill /> <GithubPill /> <GooglePill /> <KeycloakPill />

Expand Down

0 comments on commit 9586476

Please sign in to comment.