The Plugin worked perfectly untill 3.4.x version, but after that we are not able to load login page.
Placed latest saml plugin with 3.6 version. Below is config file
Target version is 3.6.4
[auth]
autoUpdateAccountActiveStatus = true
type = HTTP_LDAP
#gitBasicAuthPolicy = LDAP
gitBasicAuthPolicy = HTTP
logoutUrl =
https://gerrit-sso..com/static/logout.html
httpHeader = X-SAML-UserName
httpDisplaynameHeader = X-SAML-DisplayName
httpEmailHeader = X-SAML-EmailHeader
httpExternalIdHeader = X-SAML-ExternalId
userNameCaseInsensitive = true
[saml]
keystorePath = /data/gerrit-sso/etc/samlKeystore.jks
#metadataPath =
https://sso4..com/FederationMetadata/2007-06/FederationMetadata.xml
metadataPath = file:///data/gerrit-sso/etc/FederationMetadata.xml
#serviceProviderEntityId =
https://gerrit-sso.com/plugins/saml/callback?client_name=SAML2Client #serviceProviderEntityId = SAML2Client
useNameQualifier = false
#emailAddressAttr = EmailAddress
emailAddressAttr = email
userNameAttr = uid
computedDisplayName = true
firstNameAttr = first_name
lastNameAttr = last_name
[ldap]
server = ldaps://
ldap.ad.com:3269 username = gerrit@ad
accountBase = **
groupBase = DC
groupScope = subtree
localUsernameToLowerCase = true