p2-inc / keycloak-orgs

Single realm, multi-tenancy for SaaS apps
https://phasetwo.io
Other
418 stars 72 forks source link

keycloak hostname:v2 /admin used on "hostname" instead of "hostname-admin" #260

Closed awoimbee closed 4 months ago

awoimbee commented 4 months ago

When

Then one hits an issue similar to https://github.com/keycloak/keycloak/issues/30432 when loading the admin console.

TL;DR: The javascript requests <hostname>/admin/... which should never happen as all resources in /admin should be accessed through <hostname-admin> (so <hostname-admin>/admin/...).

Requests: Screenshot from 2024-07-22 14-43-29

Bad request origin: Screenshot from 2024-07-22 14-43-02

xgp commented 4 months ago

I think the issue is that the currently release phasetwo.v2 admin ui jar is based on 25.0.0. There is a PR in the containers repo with the new jar if you want to test it https://github.com/p2-inc/phasetwo-containers/pull/54