diff --git a/src/main/java/io/phasetwo/service/auth/idp/DomainExtractor.java b/src/main/java/io/phasetwo/service/auth/idp/DomainExtractor.java index aabf2ecc..6f8dba88 100755 --- a/src/main/java/io/phasetwo/service/auth/idp/DomainExtractor.java +++ b/src/main/java/io/phasetwo/service/auth/idp/DomainExtractor.java @@ -9,7 +9,6 @@ final class DomainExtractor { private static final Logger LOG = Logger.getLogger(DomainExtractor.class); - private static final String EMAIL_ATTRIBUTE = "email"; private final HomeIdpDiscoveryConfig config; @@ -27,10 +26,6 @@ Optional extractFrom(UserModel user) { LOG.warnf("Could not find user attribute '%s' for user '%s'", config.userAttribute(), user.getId()); return Optional.empty(); } - if (EMAIL_ATTRIBUTE.equalsIgnoreCase(config.userAttribute()) && !user.isEmailVerified()) { - LOG.warnf("Email address of user '%s' is not verified", user.getId()); - return Optional.empty(); - } return extractFrom(userAttribute); }