Details
-
Bug
-
Resolution: Done
-
Major
-
1.0.0.Alpha4
-
None
-
- Login to hawkular
- Go to App Server Deployments tab
- (Re)Deploy a WAR
- Wait 5 minutes (until token refreshes)
- (Re)Deploy a WAR .. this one fails
-
Description
Keycloak by default has a 5 minute Access Token Lifespan, meaning every 5 minutes the token must be refreshed, invalidating the previous access token.
When this is happening the Hawkular Accounts is not updating $rootScope.userDetails.token value with the new token, so WS operations making use of it fail with "Invalid Token".