SSO: Can´t use nameID

Hi,

I´ve searched a little bit around and found no solution: why isn´t it possible to pass nameid or emailaddress for sso?

E.g. http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress is not recognized for the username field. Is there any workaround? I´m using azure / office365 saml auth.

Could solve it by my own. When setting http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name

at the first general username mapping field at nextcloud you need to set user.userprincipalname at the company application saml mapping at azure for name and mail.