Skip to content

Different public and internal auth URI #194

Answered by ch4mpy
demkom58 asked this question in Q&A
Discussion options

You must be logged in to vote

You might add your dev machine hostname (the output of the hostname command in git-bash) to the extra_hosts in your docker-compose file(s) and use that for the URIs in your conf. Like that, this hostname will be known by both docker containers and the browser you run your frontend into.

Remember to update Keycloak configuration to use this hostname in KC_HOSTNAME_URL and KC_HOSTNAME_ADMIN_URL.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by demkom58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants