Merge pull request #1508 from stianst/master
KEYCLOAK-1694 Null Client Exception on OAuth Grant Page
This commit is contained in:
commit
ac0ae06463
1 changed files with 3 additions and 0 deletions
|
@ -255,6 +255,9 @@ public class IdentityBrokerService implements IdentityProvider.AuthenticationCal
|
|||
}
|
||||
|
||||
ClientSessionModel clientSession = clientCode.getClientSession();
|
||||
|
||||
session.getContext().setClient(clientSession.getClient());
|
||||
|
||||
context.getIdp().preprocessFederatedIdentity(session, realmModel, context);
|
||||
Set<IdentityProviderMapperModel> mappers = realmModel.getIdentityProviderMappersByAlias(context.getIdpConfig().getAlias());
|
||||
if (mappers != null) {
|
||||
|
|
Loading…
Reference in a new issue