-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Impossible to connect on the nextcloud with Keycloak #190
Comments
Thanks @juliushaertl , I am stupid >< I retried with And I always have the same problem when I would like to log in with keycloak : I wonder if it's a problem with the port number (?) 🤔 $ docker compose ps
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
master-database-mysql-1 mariadb:10.5 "docker-entrypoint.s…" database-mysql 8 minutes ago Up 8 minutes 0.0.0.0:8212->3306/tcp, :::8212->3306/tcp
master-keycloak-1 quay.io/keycloak/keycloak:20.0 "/opt/keycloak/bin/k…" keycloak 8 minutes ago Up 8 minutes 8080/tcp, 8443/tcp
master-ldap-1 osixia/openldap "/container/tool/run…" ldap 8 minutes ago Up 8 minutes 636/tcp, 0.0.0.0:3389->389/tcp, :::3389->389/tcp
master-mail-1 ghcr.io/juliushaertl/nextcloud-dev-mailhog:latest "MailHog" mail 8 minutes ago Up 8 minutes 1025/tcp, 8025/tcp
master-nextcloud-1 ghcr.io/juliushaertl/nextcloud-dev-php80:latest "/usr/local/bin/boot…" nextcloud 8 minutes ago Up 7 minutes 0.0.0.0:8210->80/tcp, :::8210->80/tcp
master-proxy-1 ghcr.io/juliushaertl/nextcloud-dev-nginx:latest "/app/docker-entrypo…" proxy 8 minutes ago Up 8 minutes 0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp
master-redis-1 redis:7 "docker-entrypoint.s…" redis 8 minutes ago Up 8 minutes 6379/tcp |
The port numbers should not be needed as the request should go through the proxy container. I also cannot reproduce that, for me this works fine :/ |
Maybe try restarting proxy with |
Arf... Always the same problem even after run the |
I tried to delete all my images and recreate with |
I don't know if it's that, but the url is |
Ah I see, i think the auto setup doesn't take the DOMAIN_SUFFIX into account properly. However independent of that keycloak should be reachable in the browser through |
Hmm... But, should I have access to keycloak.local in this case, no ? In my .env file, the domain sufix is # .env
DOMAIN_SUFFIX=.local If you write I tried with |
Can you check the container logs of proxy and keycloak if there are any errors or messages when you try to open keycloak.local in your browser? |
Hi everyone 🙂
I would like to use Keycloak to do tests and I cannot log in with Keycloak.
I followed the instructions : https://github.com/juliushaertl/nextcloud-docker-dev#keycloak .
I run a few docker containers with this command :
Then, I tried to log in with keycloak :
But, when I clicked on the "Login with Keycloak" button. I get this error message :
So, I tried to connect on the http://keycloak.dev.local . But, I get this another error message :
I saw my configuration from Settings > OpenID Connect and the configuration seems good to me ?
I don't know if it's a bug or not. Can you help me, please ? 🙏
The text was updated successfully, but these errors were encountered: