Adding custom SAML attribute when auth0 is IdP

Hi,

Currently, I’m using Auth0 as an IdP for login via SAML. The client requires first_name and last_name attributes. The SAML assertion doesn’t contain these attributes. I tried following but still, it doesn’t work:

{
“mappings”: {
“email”: “http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress”,
“given_name”: “http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname”,
“family_name”: “http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname
},
“mapUnknownClaimsAsIs”: true
}

Thanks in advance. Please help with this.

Hi Adnan-kamili,

Did you solve this? I’m having the same problem.