-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(pkce): 20111 PKCE auth flow does not return user to previous path…
… like dex auth flow (#20202) * Adding non-default basehref support for PKCE auth flow Signed-off-by: austin5219 <[email protected]> * Adding ; for linting Signed-off-by: austin5219 <[email protected]> * removing hook function Signed-off-by: austin5219 <[email protected]> * Moving unauthorized error handling to class component to access context for error handling within 401 error Signed-off-by: austin5219 <[email protected]> * Store the subsrition handle to close in unmount Signed-off-by: austin5219 <[email protected]> * reorder imports Signed-off-by: austin5219 <[email protected]> * Actually saving the subscriptions now Signed-off-by: austin5219 <[email protected]> * returning the 401 subscription from helper function Signed-off-by: austin5219 <[email protected]> * Handle the promise of a subscription Signed-off-by: austin5219 <[email protected]> * Removing then from non async subscribe Signed-off-by: austin5219 <[email protected]> * Linter fixes Signed-off-by: austin5219 <[email protected]> * Adding path caching to sessionStorage on pkceLogin and redirect step to cached path if available in pkceCallback to mirror Dex functionality Signed-off-by: austin5219 <[email protected]> --------- Signed-off-by: austin5219 <[email protected]>
- Loading branch information
1 parent
347f221
commit 61e7ad1
Showing
3 changed files
with
77 additions
and
28 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
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