You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Question
How can I configure the library to redirect to the default login page (or custom page) when refresh token fails?
I have the following config:
authority: authorityUrl,
redirectUrl: window.location.origin + environment.baseHref,
postLogoutRedirectUri: window.location.origin + environment.baseHref,
clientId: clientId,
scope: 'openid profile email offline_access roles',
silentRenewUrl: window.location.origin + environment.baseHref + '/silent-renew.html',
responseType: 'code',
silentRenew: true,
useRefreshToken: true,
autoUserInfo: false.
Using keycloak as authorization server.
I see in the network that the call to the /token url to refresh the access token fails (because the refresh token has expired), but I would like to redirect to somewhere (login page, custom page, or even show a message that the session has expired). What kind of possibilities the library offer in order to achieve this.
The text was updated successfully, but these errors were encountered:
What Version of the library are you using?
17.0.0
Question
How can I configure the library to redirect to the default login page (or custom page) when refresh token fails?
I have the following config:
authority:
authorityUrl
,redirectUrl: window.location.origin + environment.baseHref,
postLogoutRedirectUri: window.location.origin + environment.baseHref,
clientId:
clientId
,scope: 'openid profile email offline_access roles',
silentRenewUrl: window.location.origin + environment.baseHref + '/silent-renew.html',
responseType: 'code',
silentRenew: true,
useRefreshToken: true,
autoUserInfo: false.
Using keycloak as authorization server.
I see in the network that the call to the /token url to refresh the access token fails (because the refresh token has expired), but I would like to redirect to somewhere (login page, custom page, or even show a message that the session has expired). What kind of possibilities the library offer in order to achieve this.
The text was updated successfully, but these errors were encountered: