OIDC error when multiple email addresses
Concerned version
Version: %2.0.13
Platform: Apache on debian 11
Summary
When LDAP users has multiple email addresses, Gitlab OIDC client rejects the connection complaining with a bad email address.
Logs
Gitlab: Sign-in failed because Email is invalid.
Possible fixes
Provide a way to map attributes on a single element of an array, like mail => mail[0]