Fixing library

This commit is contained in:
luca.frosini 2023-07-11 10:21:12 +02:00
parent c7af44e220
commit c0b7cf7165
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ public class ClientIDManager implements RenewalProvider {
}
public Secret getSecret(String context) throws Exception {
TokenResponse tokenResponse = KeycloakClientFactory.newInstance().queryUMAToken(clientID, clientSecret, context, null);
TokenResponse tokenResponse = KeycloakClientFactory.newInstance().queryUMAToken(context, clientID, clientSecret, context, null);
JWTSecret jwtSecret = new JWTSecret(tokenResponse.getAccessToken());
jwtSecret.setRenewalProvider(this);