aboutsummaryrefslogtreecommitdiffstats
path: root/lib/src/main/java
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-04-11 13:57:10 +0200
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-04-11 13:57:10 +0200
commitdd5bbdc4704b91be74cc57be584efd9db99ee5c0 (patch)
tree8685d75472620769ddd43c3d066477287960b47b /lib/src/main/java
parent0bf11185dcf93394c600972a83dbe69f9014e521 (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.java2
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));
}