I’ve migrated from Keycloak 17.0.0 into 17.0.1 with the exact same configuration and now I can’t access the admin interface since it is working on edge mode and keycloak is redirecting to local hostname which is not known publicly.
I am using Keycloak 17.0.1 in ‘edge’ mode, without any issues.
The only env parameter I used is the KC_HOSTNAME.
Are you sure your reverse proxy passes the right http headers?
I use the admin console over https, so X-Forwarded-Proto is set to: https.
… and as @joerijansen pointed out, it turns out in 17.0.1 it is important to pass the right http headers. I have fixed the issue setting --entryPoints.web.forwardedHeaders.trustedIPs=XXX properly in Traefik.
For me. KC 17.0.0 was working fine with edge mode without proper “X-Forwarded-Scheme” and “X-Scheme” headers (both were set to http. set by AWS ELB with TLS termination). Starting from KC17.0.1 keycloak started giving mixed content error “jquery.min.js:2 Uncaught ReferenceError: Keycloak is not defined”. Setting both of these headers to https fixed my issue. I had to use nginx custom template to do that.