-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
STCOR-902 show error message on OIDC fetch failure
When returning from a SAML/OIDC request, stripes makes an API request to exchange the token for cookies. If that API request fails, show an error and a button prompting the user to try authenticating again. Previously, instead of showing a button, stripes would automatically redirect to `/`, which (because there were no cookies) would redirect to the authentication URL, which (because there _were_ still valid authentication cookies) would redirect to stripes, starting an endless circle. Refs STCOR-902
- Loading branch information
Showing
4 changed files
with
61 additions
and
37 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
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