[ISSUE] Identity unable to refresh tokens #1704
Labels
cycle/alpha2
Tasks will be done in alpha2 cycle
kind/issue
Unidentified issue, it could be a bug, misconfig, or anything in between
Milestone
Related issues
https://jira.camunda.com/browse/SUPPORT-21543
SUPPORT-22007
Describe the issue:
When using the latest version of the helm charts Identity is unable to successfully use a refresh token to generate a new JWT. After further investigation this is linked to a recent Keycloak upgrade (REF).
We experienced the same issues with calls originating from different contexts (internal vs external), the resolution in this instance was to add
KEYCLOAK_EXTRA_ARGS: "--hostname=localhost:18080 --hostname-strict-backchannel=false"
to our Keycloak container. Applying the same logic to this issue here, usingextraStartupArgs: "--hostname-url=https://keycloak.local.distro.ultrawombat.com/auth"
forces the Keycloak instance to return the URLs as the public url and not the internal ([http://camunda-platform-keycloak:80](http://camunda-platform-keycloak/)
) URL.Applying the following configuration to the Keycloak container resolves the issue:
Actual behavior:
When Identity tries to refresh the users access token an internal server error occurs and the Identity UI breaks requiring the user to clear session data and login again.
Expected behavior:
Identity should be able to successfully use a refresh token to obtain a new JWT for the user.
How to reproduce:
Environment:
Please note: Without the following info, it's hard to resolve the issue and probably it will be closed.
main
but also issue is in 10.2The text was updated successfully, but these errors were encountered: