Fixing code
This commit is contained in:
parent
ca07b2f9f1
commit
2eef938c71
|
@ -57,7 +57,7 @@ public class Constants {
|
||||||
private static TokenResponse getJWTAccessToken() throws Exception {
|
private static TokenResponse getJWTAccessToken() throws Exception {
|
||||||
String contextToAuthorise = SecretManagerProvider.instance.get().getContext();
|
String contextToAuthorise = SecretManagerProvider.instance.get().getContext();
|
||||||
Entry<String,String> entry = getClientIdAndClientSecret(contextToAuthorise);
|
Entry<String,String> entry = getClientIdAndClientSecret(contextToAuthorise);
|
||||||
TokenResponse tr = KeycloakClientFactory.newInstance().queryUMAToken(entry.getKey(), entry.getValue(), contextToAuthorise, null);
|
TokenResponse tr = KeycloakClientFactory.newInstance().queryUMAToken(contextToAuthorise, entry.getKey(), entry.getValue(), null, null);
|
||||||
return tr;
|
return tr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue