Skip to content
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

fix: update docker compose to match identity url changes #806

Merged

Conversation

Ben-Sheppard
Copy link
Contributor

Description

I've seen a couple of instances both internal and external where the docker-compose in this repo isn't fully supportive of recent component changes relating to the Keycloak URLs used for token refresh and revoke.

This PR tries to bring them inline (testing locally shows success), but there are a couple of things to note:

  • Identity uses the "frontend" or the ISSUER_URL of keycloak to perform token refresh and revoke
  • To be able to resolve the URLs correctly two things need to happen
    • The KEYCLOAK_HOST variable needs to be set to the container name of Keycloak, in this instance keycloak
    • The local machine should be able to resolve keycloak to 127.0.0.1

@Ben-Sheppard Ben-Sheppard force-pushed the fix-update-docker-compose-to-match-identity-url-changes branch from c160c44 to b6ec610 Compare September 2, 2024 19:32
@Ben-Sheppard Ben-Sheppard merged commit fd3a239 into main Sep 3, 2024
5 checks passed
@Ben-Sheppard Ben-Sheppard deleted the fix-update-docker-compose-to-match-identity-url-changes branch September 3, 2024 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants