Merge pull request #1508 from stianst/master

KEYCLOAK-1694 Null Client Exception on OAuth Grant Page
This commit is contained in:
Stian Thorgersen 2015-07-27 11:43:13 +02:00
commit ac0ae06463

View file

@ -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) {