-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added OIDC error types #69
Conversation
src/oidc/error.ts
Outdated
} | ||
|
||
export const OIDCAuthenticationError = { | ||
FailedToFetchOIDCConfiguration: new OIDCError('Failed to fetch OIDC configuration'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was thinking to have an error code instead of message to differentiate error better
AuthenticationRequestFailed = "AuthenticationRequestFailed", | ||
AccessTokenRequestFailed = "AccessTokenRequestFailed", | ||
LegacyTokenRequestFailed = "LegacyTokenRequestFailed", | ||
UserManagerCreationFailed = "UserManagerCreationFailed" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 This PR is included in version 1.1.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Description
Motivation
Please include the motivation behind this change. Why is this change required? What problem does it solve?
Actions
List the actions taken to achieve this change. What steps were followed? What was modified?
Type of change
Please delete options that are not relevant.