# Cannot get custom claim via C#

**URL:** <https://community.auth0.com/t/cannot-get-custom-claim-via-c/113466>\
**Category:** JWT.io\
**Tags:** jwt, actions, login\
**Created:** [August 11, 2023, 2:59pm UTC](https://community.auth0.com/t/cannot-get-custom-claim-via-c/113466 "2023-08-11T14:59:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hungtk243](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/hungtk243/32/49829_2.png) [@hungtk243](https://community.auth0.com/u/hungtk243)\
**Post date:** [August 11, 2023, 2:59pm UTC](https://community.auth0.com/t/cannot-get-custom-claim-via-c/113466/1 "2023-08-11T14:59:12Z")

</div>

Dear,

I can’t get my custom claim in access token.  
This my action Post login.

 ![action](https://global.discourse-cdn.com/auth0/original/3X/b/d/bd4b7869ca85b0250b4cc328ea1bd13faba5af05.png)  
 ![action1](https://global.discourse-cdn.com/auth0/original/3X/7/b/7b6f63e20fe597f9fad9c6c3a0d41c33a705323b.png)

and this link api for login

 ![login](https://global.discourse-cdn.com/auth0/original/3X/4/9/49d400c7a370bfcf66829dff120f69e91b4c66e6.png)  
 ![login1](https://global.discourse-cdn.com/auth0/original/3X/9/1/917f6f787eeb0b11a110d33f91e8670653e67481.png)

after login sussessful, redirect to Callback url with access\_token

 ![url](https://global.discourse-cdn.com/auth0/original/3X/1/5/15746bae1dcd76344468c0a63126abe7ccef2632.png)

Then, i copy access\_token on link above and decode it. But i can’t see custom claim.

 ![decode](https://global.discourse-cdn.com/auth0/original/3X/8/0/80ce3d462f469bc706b4dfcd4ef560cde66d04f7.png)

I use free plan.  
Pls help me. Thank a lot.

---

<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:** [August 14, 2023, 3:59pm UTC](https://community.auth0.com/t/cannot-get-custom-claim-via-c/113466/3 "2023-08-14T15:59:34Z")

</div>

Hi @hungtk243,

Welcome to the Auth0 Community!

Non-namespaced custom claims have some restrictions that will prevent them from being included in the token. Are any auth0 domains included in the token audience? This would prevent the non-namespaced claim from appearing.

Feel free to post an example token (you can decode it here: [jwt.io](http://jwt.io)) and I can take a look.

Thanks!

---

<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:** [August 29, 2023, 1:06pm UTC](https://community.auth0.com/t/cannot-get-custom-claim-via-c/113466/4 "2023-08-29T13:06:26Z")

</div>

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