==> I mean the realm creation, the session length, the flow confgiurationUsing the admin console is the easier way to perform functionnal configuration, but you can record the http calls and automate them with curl calls.
> or at leas how to access the admin console? Thank you!In your setup, with an HTTPS proxy in front, you can give a try to launch you KC with a --proxy=edge(https://www.keycloak.org/server/reverseproxy)
Or, if you want to access http://localhost:8080/admin/master/console, launch KC with the following env vars :- KC_HOSTNAME_STRICT=false
- KC_HOSTNAME_STRICT_HTTPS=false #For local access to console admin in start mode
- KC_HTTP_ENABLED=true
Thanks again, Gilles!
I did run the docker command as you suggested, also leaving --hostname param in or not did not make a difference. BUT your hint regarding the header in the nginx reverse proxy seemed like a good guess, so I tried your config in nginx (thanks so much for the files!) and... finally, it works!
After some fiddling around these apparently are the minimum headers, the nginx proxy needs to hand over to Keycloak:
Set the X-Forwarded-For, X-Forwarded-Proto, and X-Forwarded-Host HTTP headers