# Email claim is getting even after adding in the scope

**URL:** <https://community.auth0.com/t/email-claim-is-getting-even-after-adding-in-the-scope/79493>\
**Category:** Get Help\
**Tags:** jwt, login, auth0\
**Created:** [March 8, 2022, 12:14pm UTC](https://community.auth0.com/t/email-claim-is-getting-even-after-adding-in-the-scope/79493 "2022-03-08T12:14:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![saikumarcme](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/saikumarcme/32/35725_2.png) [@saikumarcme](https://community.auth0.com/u/saikumarcme)\
**Post date:** [March 8, 2022, 12:14pm UTC](https://community.auth0.com/t/email-claim-is-getting-even-after-adding-in-the-scope/79493/1 "2022-03-08T12:14:28Z")

</div>

Configured Swagger with Auth0 in .net core api 6.0.  
After authentication I am getting Permissions but not Email. Can you please help out on this.

I am facing similar issue mentioned in below link

> [@Swashbuckle .net core](https://community.auth0.com/t/swashbuckle-net-core/24207):
>
> Hi. I am using auth0 with .net core and swagger UI (swashbuckle package). Everything works as expected and I am getting token and scope permissions. Still, I am not able to get email, openid and profile information from token, because this data is not included in token. I am talking now only about swagger UI. Is there any specific configuration for Swagger or Auth0 that’s need to be done in order get this information into token? I could find any example how to include additional claims to tok…

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [March 10, 2022, 5:12pm UTC](https://community.auth0.com/t/email-claim-is-getting-even-after-adding-in-the-scope/79493/3 "2022-03-10T17:12:12Z")

</div>

Hi @saikumarcme,

Welcome to the Auth0 Community!

It sounds like you are looking for the ID Token, where email should be included.

Here is a doc outlining the difference: [ID Token and Access Token: What Is the Difference?](https://auth0.com/blog/id-token-access-token-what-is-the-difference/)

Otherwise, you should be able to add email to the access token in an action.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [December 22, 2022, 10:49am UTC](https://community.auth0.com/t/email-claim-is-getting-even-after-adding-in-the-scope/79493/4 "2022-12-22T10:49:04Z")

</div>


