Hello Team,
I can successfully migrate to SSO and it works fine. But noticing one issue. Which is, when we are using LDAP, we had following setting in gerrit.config file
[auth]
userNameToLowerCase = true ------->>>> This will just convert the incoming username to lowercase and check in DB for authenticating
[ldap]
localUsernameToLowerCase=true ------>>>> This will convert username to lowercase and write/store it to DB
As per this setting, usernames will be converted to lowercase and then stored in Gerrit DB and during authentication also, same thing happens
But when we move to SSO, usernames are getting stored to Gerrit as it is (i.e) with capital letters. This is leading to creation of new accounts in Gerrit even though an account is already present with same the name but with lowercases.
I checked but unable to find an option for SAML similar to LDAP to convert usernames to lowercase
[auth]
userNameToLowerCase = true ------->>>> This will just convert the incoming username to lowercase and check in DB for authenticating
[saml]
<unknown> <<<<------- Option to convert username to lowercase like we have in ldap section
Any suggestions will be very helpful