diff --git a/backend/ee/saml/provider/saml.go b/backend/ee/saml/provider/saml.go index 2cbc5dcf4..82eabc97a 100644 --- a/backend/ee/saml/provider/saml.go +++ b/backend/ee/saml/provider/saml.go @@ -76,7 +76,7 @@ func (sp *BaseSamlProvider) GetUserData(assertionInfo *saml2.AssertionInfo) *thi email := thirdparty.Email{ Email: emailAddress, - Verified: assertionValues.Get(attributeMap.EmailVerified) != "", + Verified: assertionValues.Get(attributeMap.EmailVerified) == "true", Primary: true, }