Update /auth context path requirements for Keycloak #3550
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What changes are you introducing?
We need to update the procedures for configuring Keycloak as an authentication source for Foreman to reflect changes in
keycloak-httpd-client-install
version 1.3.This PR reshuffles existing prerequisites for the setup (to better enable adding the new information) and then on top of that explains which steps users need to take depending on whether 1.3 or 1.2 is installed on their Foreman server.
Why are you introducing these changes? (Explanation, links to references, issues, etc.)
Existing procedures for configuring Quarkus-based Keycloak as an authentication source currently contain a workaround because they are based on the fact that
keycloak-httpd-client-install
requires the Keycloak server to be initialized with--http-relative-path=/auth
. That is no longer the case because with version 1.3,keycloak-httpd-client-install
has been updated. Notable commits:Therefore, the support matrix that we are dealing with now involves two versions of Keycloak (one based on the Quarkus application server, the other based on the deprecated Wildfly server) and two versions of the
keycloak-httpd-client-install
utility (1.2 and 1.3).Anything else to add? (Considerations, potential downsides, alternative solutions you have explored, etc.)
Thanks to @ekohl for investigating the situation and recording his findings in https://issues.redhat.com/browse/SAT-29434.
Checklists
Please cherry-pick my commits into: