Repository navigation
Issue with Keycloak Authority URL and Docker Compose Networking in Local Development #41566
|
Hi everyone, I have keycloak:8080/realm/ configured in the WebAPI's appsettings.json, and localhost:8080 configured in the Docker Compose file. When I open the internal URL in the browser, I see it instead of localhost, but it should be localhost. Also, if I add the frontend URL as an environment variable, I don't even see the authentication page. I am doing this is all in local machine webpai appsetting.json
Responce from inside of conatiner `curl -i http://keycloak:8080/realms/test-realm/.well-known/openid-configuration I get same response as above from localhost:8080//realms/test-realm/.well-known/openid-configuration while trying to access in browser `version: '3.8' services: api: backgroundjobs: cli: postgresql: postgres-keycloak: keycloak: keycloak-config-cli: volumes: networks: |
Replies: 1 comment
|
It has been resloved for local machine |
It has been resloved for local machine