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.
This PR is solution for issue #194, please see there for initial description of the problem.
The idea with setting
rootUrl
as${authBaseUrl}
for kong client was wrong.baseURL
of our Keycloak inside of CZERTAILY ishttps://hostname/kc
but we need to somehow generateredirect_uri
https://hostname/login`. This is not possible with our baseURL.Experments with
..
also failed:The right solution is to not provide
rootUrl
at all. Tooltip associated with Valid redirect URLS says: ... Valid URI pattern a browser can redirect to after a successful login. Simple wildcards are allowed such as 'http://example.com/'. Relative path can be specified too such as /my/relative/path/. Relative paths are relative to the client root URL, or if none is specified the auth server root URL is used. For SAML, you must set valid URI patterns if you are relying on the consumer service URL embedded with the login request. The behavior when norootUrl
is provided is exactly what we need.This patch resolves problem when renamed instance of CERTAINLY have broken Keycloak. However there still remains other values of
czertainly_realm.json
which are templated by Helm, but applied only during the first import of this file. Maybe we need to search other way of initial Keycloak configuration.This PR is just about possibility rename CZERTAINLY instance.
closes #194