# Map root email with custom claim while user creation

**URL:** <https://community.auth0.com/t/map-root-email-with-custom-claim-while-user-creation/63882>\
**Category:** Get Help\
**Tags:** user-creation\
**Created:** [June 4, 2021, 8:03am UTC](https://community.auth0.com/t/map-root-email-with-custom-claim-while-user-creation/63882 "2021-06-04T08:03:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![debasish.chakraborty](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/debasish.chakraborty/32/12814_2.png) [@debasish.chakraborty](https://community.auth0.com/u/debasish.chakraborty)\
**Post date:** [June 4, 2021, 8:03am UTC](https://community.auth0.com/t/map-root-email-with-custom-claim-while-user-creation/63882/1 "2021-06-04T08:03:35Z")

</div>

Currently using okta as IDP, here the email attribute sending from okta is Email\_Address instead of email for idp initiated SSO , I cant map root email with this custom field Email\_Address  
I have tried mapping : “email”: “[http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress](http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress)”,  
but it doesn’t works on new user creation and user is showing empty email section

---

<div class="post-metadata">

**Author:** ![sidharth.chaudhary](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sidharth.chaudhary/32/20686_2.png) [@sidharth.chaudhary](https://community.auth0.com/u/sidharth.chaudhary)\
**Post date:** [June 7, 2021, 3:50am UTC](https://community.auth0.com/t/map-root-email-with-custom-claim-while-user-creation/63882/2 "2021-06-07T03:50:10Z")

</div>

Hey @debasish.chakraborty , Welcome to the Auth0 Community.

The mapping, in this case, should look like this:

```
     {
           "email": "Email_Address"
     }

```

Let us know if this helps!

Regards,  
Sidharth

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [June 22, 2021, 3:51am UTC](https://community.auth0.com/t/map-root-email-with-custom-claim-while-user-creation/63882/3 "2021-06-22T03:51:02Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
