Skip to content

Commit

Permalink
document onRefreshFailure
Browse files Browse the repository at this point in the history
  • Loading branch information
cmatheson committed Dec 10, 2024
1 parent 683107d commit d6df8d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ takes the following props:
- `onRedirectCallback`: Called after exchanging the
`authorization_code`. Can be used for things like redirecting to a "return
to" path in the OAuth state.
- `onRefreshFailure`: Called when the session fails to refresh. Can be used to redirect the user to the sign in page or update the UI.
### `useAuth`
Expand Down

0 comments on commit d6df8d6

Please sign in to comment.