# Customize SAML Name ID

**URL:** <https://community.auth0.com/t/customize-saml-name-id/123956>\
**Category:** Get Help\
**Tags:** application, sso\
**Created:** [January 2, 2024, 5:03am UTC](https://community.auth0.com/t/customize-saml-name-id/123956 "2024-01-02T05:03:19Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![marcelina.barycka](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marcelina.barycka/32/56162_2.png) [@marcelina.barycka](https://community.auth0.com/u/marcelina.barycka)\
**Post date:** [January 2, 2024, 1:31pm UTC](https://community.auth0.com/t/customize-saml-name-id/123956/2 "2024-01-02T13:31:09Z")

</div>

Hi @saravanan109587 !

Could you try out the following scenarios under the SAML2 Web App Settings?

1. Mapp the “/nameidentifier” and “/emailaddress” claims with the same user property “email”:

```auto
{"mappings": {
"name": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/userName",
"email": ["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress", "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier"]
},
  "nameIdentifierProbes": [
    "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"
  ]

```

1. Or try removing from “mappings” the  
`"user_id": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier"`  
so the Settings looks like this:

```auto
{
  "mappings": {
    "name": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/userName",
    "email": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress",
  },
  "nameIdentifierProbes": [
    "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"
  ]
}

```

You feedback would be appreciated!

---

_[View the full topic](https://community.auth0.com/t/customize-saml-name-id/123956)._
