Repository navigation
HTTPS required
#41157
Replies: 1 comment
|
Try -p 127.0.0.1:8080:8080 See https://www.keycloak.org/getting-started/getting-started-docker#_start_keycloak |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I use keycloak in a docker container to test my spring application. I use dasniko/testcontainers-keyclaok version 3.3.1 with keyclaok image 20.0 (quay.io) and upgraded docker desktop on my macOS with apple silicon to the latest version of 4.43. After the upgrade, openid-configuration page displays an error of "HTTPS required". I have tried everything I can think of.
To reproduce just with docker and keycloak container do this:
docker run --rm -p 8080:8080 \ -e KEYCLOAK_ADMIN=admin \ -e KEYCLOAK_ADMIN_PASSWORD=admin \ -e KC_HOSTNAME=localhost \ -e KC_HOSTNAME_STRICT=false \ -e KC_HOSTNAME_STRICT_HTTPS=false \ quay.io/keycloak/keycloak:24.0.1 start-devcurl http://localhost:8080/realms/master/.well-known/openid-configurationI get a response of "HTTPS required". How can I fix this?
All reactions