KEYCLOAK-4727 KEYCLOAK-4652 - Fixing protocol mappers when evaluating policies using the tool
This commit is contained in:
parent
3ce0c57e17
commit
6a959b32fc
1 changed files with 1 additions and 0 deletions
|
@ -245,6 +245,7 @@ public class PolicyEvaluationService {
|
|||
requestedRoles.add(role);
|
||||
}
|
||||
}
|
||||
clientSession.setProtocolMappers(clientModel.getProtocolMappers().stream().map(protocolMapperModel -> protocolMapperModel.getId()).collect(Collectors.toSet()));
|
||||
accessToken = new TokenManager().createClientAccessToken(keycloakSession, requestedRoles, realm, clientModel, userModel, userSession, clientSession);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue