diff --git a/src/main/java/de/sventorben/keycloak/authentication/hidpd/discovery/orgs/email/OrgsIdentityProviders.java b/src/main/java/de/sventorben/keycloak/authentication/hidpd/discovery/orgs/email/OrgsIdentityProviders.java index 1ea5e4c..e9375ab 100644 --- a/src/main/java/de/sventorben/keycloak/authentication/hidpd/discovery/orgs/email/OrgsIdentityProviders.java +++ b/src/main/java/de/sventorben/keycloak/authentication/hidpd/discovery/orgs/email/OrgsIdentityProviders.java @@ -43,7 +43,7 @@ public List withMatchingDomain(AuthenticationFlowContext if (org != null && org.isEnabled()) { boolean verified = org.getDomains() .filter(it -> domain.getRawValue().equalsIgnoreCase(it.getName())) - .anyMatch(OrganizationDomainModel::getVerified); + .anyMatch(OrganizationDomainModel::isVerified); if (verified) { return org.getIdentityProviders() .filter(IdentityProviderModel::isEnabled)