-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better errors for invalid OIDC connectors, fixes #2690
Invalid or inaccessible OIDC connectors were preventing all other logins to work, as they were grabbing mutex and making a network call. Besides, the error was not informative as the user saw "web headers timeout" error in the browser. This fix makes sure that: * Connector errors are isolated to the connector name and other flows are not blocked * Error is presented to user in a reasonable way and provides instructions * Administrator can see the error in the audit logs.
- Loading branch information
1 parent
a15958b
commit 4b84ed6
Showing
3 changed files
with
90 additions
and
13 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