Fixing code

This commit is contained in:
luca.frosini 2023-07-10 16:42:11 +02:00
parent ca07b2f9f1
commit 2eef938c71
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ public class Constants {
private static TokenResponse getJWTAccessToken() throws Exception {
String contextToAuthorise = SecretManagerProvider.instance.get().getContext();
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;
}