diff options
author | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2024-04-11 13:57:10 +0200 |
---|---|---|
committer | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2024-04-11 13:57:10 +0200 |
commit | dd5bbdc4704b91be74cc57be584efd9db99ee5c0 (patch) | |
tree | 8685d75472620769ddd43c3d066477287960b47b /lib/src/main/java | |
parent | 0bf11185dcf93394c600972a83dbe69f9014e521 (diff) |
Remove hardcoded /auth from the keycloak urls in bff
- it should be possible not to configure /auth in the Keycloak url
since newer versions do not use it
Issue-ID: PORTALNG-85
Change-Id: I288c8b954db185ed22793db0107d14e314d17c26
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'lib/src/main/java')
-rw-r--r-- | lib/src/main/java/org/onap/portalng/bff/config/clients/KeycloakConfig.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/src/main/java/org/onap/portalng/bff/config/clients/KeycloakConfig.java b/lib/src/main/java/org/onap/portalng/bff/config/clients/KeycloakConfig.java index 2ff3974..cca9c06 100644 --- a/lib/src/main/java/org/onap/portalng/bff/config/clients/KeycloakConfig.java +++ b/lib/src/main/java/org/onap/portalng/bff/config/clients/KeycloakConfig.java @@ -71,7 +71,7 @@ public class KeycloakConfig extends AbstractClientConfig<ErrorResponseKeycloakDt // Extract service name and version from BasePath String urlBasePathPrefix = - String.format("%s/auth/admin/realms/%s", bffConfig.getKeycloakUrl(), bffConfig.getRealm()); + String.format("%s/admin/realms/%s", bffConfig.getKeycloakUrl(), bffConfig.getRealm()); return apiConstructor.apply(apiClient.setBasePath(urlBasePathPrefix)); } |