How does this library deal with expired Keycloak token? Does it automatically redirect user to the login screen again?
It depends which token you're talking about.
If the Access Token is expired, the keycloak-js updateToken method is used, see: https://github.com/keycloak/keycloak-js-bower/blob/master/dist/keycloak.js#L394
If the Refresh Token expires, I guess it redirects to the login page. @mauriciovigolo is that correct?
@frederikprijck, what I meant was a refresh token. But I tried it with my testing Keycloak server instance, set really short session expiration time and it worked like a charm!
Thanks a lot for developing this library. It solves so many common problems when dealing with Keycloak!
Most helpful comment
It depends which token you're talking about.
If the Access Token is expired, the keycloak-js updateToken method is used, see: https://github.com/keycloak/keycloak-js-bower/blob/master/dist/keycloak.js#L394
If the Refresh Token expires, I guess it redirects to the login page. @mauriciovigolo is that correct?