By default Keycloak is deployed at a context root /auth which can be changed in the configuration.
Out Keycloak Server is deployed in the context root / which makes scribejava generate wrong URL's.
The problem is in
|
return baseUrl + (baseUrl.endsWith("/") ? "" : "/") + "auth/realms/" + realm; |
where auth/ is hardcoded.
In other Clients/Keycloak Lib's the context root has to be set in the url.
By default Keycloak is deployed at a context root /auth which can be changed in the configuration.
Out Keycloak Server is deployed in the context root / which makes scribejava generate wrong URL's.
The problem is in
scribejava/scribejava-apis/src/main/java/com/github/scribejava/apis/KeycloakApi.java
Line 41 in cd20f57
where
auth/is hardcoded.In other Clients/Keycloak Lib's the context root has to be set in the url.