PatternAtlas/pattern-atlas-ui

Refreshing access tokens fails

Closed this issue · 1 comments

Describe the bug
Should the access token expire, the UI should automatically refresh it. This seems to fail if the Patternatlas is deployed on PlanQK and error messages relating to expired access tokens are displayed instead.

To Reproduce
Login, wait for access token to expire, access the API through the UI.
Alternatively: Using the local UI set expiry time of access tokens very low in Keycloak to reproduce.

Expected behavior
The access token should automatically be refreshed and if that is not possible, the user should be logged out without error messages.

Screenshots
grafik

fixed in #156