Home > @activeviam/activeui-sdk > KeycloakAuthenticationHolderOptions
KeycloakAuthenticationHolderOptions interface
Signature:
export interface KeycloakAuthenticationHolderOptions
Properties
Property | Type | Description |
---|---|---|
afterLoginPageName | string | The path to the page to call to ask the user to log-in again (after a token has expired for example), relative to the path of the application. Defaults to afterlogin.html . |
logoutEndPointUrl | Url | The endpoint URL to logout the current user. |
tokenCacheMissSleepTime | number | Time in ms after which the application re-tries to retrieve a token from Keycloak if it failed the first time. This can happen due to clock offsets between the Keycloak server and the ActiveUI server. Defaults to 10000 . |
tokenEndPointUrl | Url | The endpoint URL to get a token. |
whiteListedUrlPrefixes | string[] | URL prefixes for which the Keycloak token should not be included in the Authorization header. Calls to access resources protected by a Keycloak filter should not include the Keycloak token, as it would trigger an unwanted authentication flow, and lead to tokens not refreshing correctly. Defaults to [window.location.origin, logoutEndPointUrl] . |
windowClosePollerInterval | number | Interval in ms to check if the user has closed the popup asking to log-in again. Defaults to 2000 . |