This repository has been archived by the owner on Jan 26, 2025. 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-angular]: Fixes login_required error (#307)
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
dbfb7de
commit 5862e32
Showing
2 changed files
with
59 additions
and
26 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