Skip to content

Use different SAML claim to set username?

The documentation on SAML authentication says that the username is generated automatically from the email address.

Is it possible to change this to use a different SAML claim, e.g. windowsaccountname or anything else? I've looked through the source code of the omniauth-saml module but can't tell if it's doing the work or Gitlab or another module.