commit
155a2d687b
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ public abstract class AuthorizationEndpointBase {
|
||||||
|
|
||||||
List<IdentityProviderModel> identityProviders = realm.getIdentityProviders();
|
List<IdentityProviderModel> identityProviders = realm.getIdentityProviders();
|
||||||
for (IdentityProviderModel identityProvider : identityProviders) {
|
for (IdentityProviderModel identityProvider : identityProviders) {
|
||||||
if (identityProvider.isAuthenticateByDefault()) {
|
if (identityProvider.isEnabled() && identityProvider.isAuthenticateByDefault()) {
|
||||||
// TODO if we are isPassive we should propagate this flag to default identity provider also if possible
|
// TODO if we are isPassive we should propagate this flag to default identity provider also if possible
|
||||||
return buildRedirectToIdentityProvider(identityProvider.getAlias(), new ClientSessionCode(realm, clientSession).getCode());
|
return buildRedirectToIdentityProvider(identityProvider.getAlias(), new ClientSessionCode(realm, clientSession).getCode());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue