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

Make keycloak setup more consistent #17425

Merged
merged 1 commit into from
Dec 13, 2024
Merged

Make keycloak setup more consistent #17425

merged 1 commit into from
Dec 13, 2024

Conversation

NobodysNightmare
Copy link
Contributor

Giving operator control of restart by using unless-stopped. Previously it was in two extremes at the same time: The db would always restart, even if stopped, while the app server would never restart, even if it was running.

Also opting into a feature that's necessary to properly configure token exchange according to Keycloak docs at https://www.keycloak.org/securing-apps/token-exchange (While the docs say it's not needed for the internal to internal flow, I literally couldn't follow the instructions without this feature).

Ticket

none

What are you trying to accomplish?

Make the default setup for Keycloak more consistent.

@NobodysNightmare NobodysNightmare requested a review from a team December 10, 2024 15:06
Giving operator control of restart by using unless-stopped. Previously
it was in two extremes at the same time: The db would always restart, even if stopped,
while the app server would never restart, even if it was running.

Also opting into a feature that's necessary to properly configure token exchange
according to Keycloak docs at https://www.keycloak.org/securing-apps/token-exchange
(While the docs say it's not needed for the internal to internal flow, I literally couldn't
follow the instructions without this feature).
Copy link
Member

@Kharonus Kharonus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see no reason not to change those configs. But, alas, I was not the one writing those in the beginning. xD

But, if you are optimistic, that it improves the setup, :shipit:

@NobodysNightmare NobodysNightmare merged commit 9bfdd3b into dev Dec 13, 2024
8 checks passed
@NobodysNightmare NobodysNightmare deleted the keycloak-setup branch December 13, 2024 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants