This repository has been archived by the owner on Oct 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix[okta-react]: Fixes login_required error (#302)
The TokenManager throws an error when tries to renew a token but Okta session is expired. The SDK should capture that error in the getAccessToken and getIdToken functions and return undefined instead. In this way, also the isAuthenticated function will return false, so the router can correctly redirect to a new login.
- Loading branch information
1 parent
eb33a6b
commit dbfb7de
Showing
2 changed files
with
52 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters