Unable to login with Google SSO
I recently had configured Google Workspace SSO for my self-managed GitLab, but when i tried to login, it shows me Email can’t be blank as per this screenshot
Configuration
gitlab_rails['omniauth_providers'] = [
{
name: "saml",
label: "Google Workspace Login",
args: {
assertion_consumer_service_url: "XXX"
idp_cert_fingerprint: "XXX",
idp_sso_target_url: "https://accounts.google.com/o/saml2/idp?idpid=XXX",
issuer: "XXX",
name_identifier_format: "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress",
attribute_statements: {
email: ['emailAddress']
}
}
}
]
This is my configuration. And also i had verified that the SamL Response consist of this value.
<saml2:NameID Format="urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress">XXX</saml2:NameID>
Versions
Please select whether options apply, and add the version information.
- Self-managed
- GitLab.com SaaS
Versions
- GitLab 16.8