camunda / issues

4 stars 0 forks source link

Logout in Identity when using a context path fails #809

Closed engineering-issue-sync-app[bot] closed 2 weeks ago

engineering-issue-sync-app[bot] commented 2 weeks ago

Related support issue

https://jira.camunda.com/browse/SUPPORT-22007

Describe the bug

When deploying Identity in a setting where there is a context path being used, the logout button in the UI does not take the context path into account. An example of this is:

My Identity service has URL https://local.distro.ultrawombat.com/identity When I click the logout button in the UI a request is made to https://local.distro.ultrawombat.com/auth/logout It should instead be made to https://local.distro.ultrawombat.com/identity/auth/logout (note the missing /identity in the URL above).

To Reproduce

Observed behavior

Identity shows a 404 page from Keycloak (in my instance)

Expected behavior

Identity should log the user out successfully and return to the login page

Environment:

values file used

``` global: ingress: enabled: true className: nginx host: "local.distro.ultrawombat.com" tls: enabled: true secretName: camunda-platform image: tag: 8.5.2 pullSecrets: - name: registry-camunda-cloud identity: auth: enabled: true publicIssuerUrl: "https://local.distro.ultrawombat.com/auth/realms/camunda-platform" connectors: enabled: false elasticsearch: enabled: false identity: enabled: true contextPath: "/identity" fullURL: "https://local.distro.ultrawombat.com/identity" identityKeycloak: enabled: true proxy: edge ingress: tls: true ingressClassName: nginx enabled: true hostname: keycloak.local.distro.ultrawombat.com extraTls: - hosts: - keycloak.local.distro.ultrawombat.com secretName: camunda-platform identityPostgresql: enabled: true operate: enabled: false optimize: enabled: false postgresql: enabled: false tasklist: enabled: false webModeler: enabled: false zeebe: enabled: false zeebe-gateway: enabled: false ```

Additional context

:robot: This issue is automatically synced from: source