Can't access Admin Console when using reverse proxy #11550
Replies: 4 comments 1 reply
-
Had the same problem: [https://keycloak.discourse.group/t/migration-from-docker-15-to-17-0-1/14878/2](Migration from 15 to 17) I think you are missing two properties: hostname-strict: false and hostname-strict-https=false |
Beta Was this translation helpful? Give feedback.
-
@eucleciojosias could please let me know how you have fixed this problem ? i am facing the same issue |
Beta Was this translation helpful? Give feedback.
-
Having a similar problem with no reverse proxy. Just accessing with a different name and when I click on Admin Console, get the same message. Tried hostname-strict=false and did not work. Anyone have any other suggestions. |
Beta Was this translation helpful? Give feedback.
-
Not sure if this is anyone's problem here - but see the last post here: It seems that they logon dialog for the admin uses the public hostname even when accessing keycloak using a private hostname - or at least it does with the various configuration settings I am using. |
Beta Was this translation helpful? Give feedback.
-
My Dockerfile:
I tried so many approaches, but a just can't access the admin console.
I access
https://my.domain.dev
then I click in Administration Console that goes tohttps://my.domain.dev/admin/master/console/
with a loading Loading the admin console, then show up a js alert with a messagefailed to initialize keycloak
the it's redirected to a error page with the URL:https://my.domain.dev/realms/master/protocol/openid-connect/auth?client_id=security-admin-console&redirect_uri=https%3A%2F%2Fmy.domain.dev%2Fadmin%2Fmaster%2Fconsole%2F%23%2F&state={}&response_mode=fragment&response_type=code&scope=openid&nonce={}&code_challenge={}&code_challenge_method=S256
With the error
invalid_url
in the image belowBeta Was this translation helpful? Give feedback.
All reactions