-
Notifications
You must be signed in to change notification settings - Fork 174
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
Invalid auth provider error handling #920
Invalid auth provider error handling #920
Conversation
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.
LGTM! 👍
docs/authorization-events.md
Outdated
@@ -36,3 +37,4 @@ You can disable the default behavior of `onAuthExpired` and `onAuthError` by mak | |||
- `onLogout` **[function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** is executed after the user logs out. | |||
- `onAuthExpireSoon` **[function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** is executed before the token expires. For OAuth2 and OIDC you can set the **accessTokenExpiringNotificationTime** to specify the number of seconds required to pass before the event is fired. The default value is `60` seconds. | |||
- by using oAuth2ImplicitGrant you can specify **expirationCheckInterval** which is the number of seconds to pass between each check if the token is about to expire. The default value is `5` seconds. | |||
- `onAuthConfigError` **[function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** is executed if an auth provider is wrong configured and as a result not available. |
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.
- `onAuthConfigError` **[function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** is executed if an auth provider is wrong configured and as a result not available. | |
- `onAuthConfigError` **[function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** is executed if an authentication provider is wrongly configured and unavailable as a result. |
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.
LGTM! 👍
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.
lgtm 👍
No description provided.