# Unable to Retrieve Custom "Roles" Claim from Access Token at /userinfo Endpoint

**URL:** <https://community.auth0.com/t/unable-to-retrieve-custom-roles-claim-from-access-token-at-userinfo-endpoint/111743>\
**Category:** Get Help\
**Tags:** extensibility, actions-extensibility\
**Created:** [July 20, 2023, 11:42pm UTC](https://community.auth0.com/t/unable-to-retrieve-custom-roles-claim-from-access-token-at-userinfo-endpoint/111743 "2023-07-20T23:42:29Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Alex0](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/alex0/32/27029_2.png) [@Alex0](https://community.auth0.com/u/Alex0)\
**Post date:** [July 25, 2023, 4:12pm UTC](https://community.auth0.com/t/unable-to-retrieve-custom-roles-claim-from-access-token-at-userinfo-endpoint/111743/9 "2023-07-25T16:12:21Z")

</div>

Thanks @dan.woda, In the original post I shared code where I set up my namespace as `const namespace = 'abcnamespace';` still not showing up in the access token. I also followed this guide: [How to add Roles and Permissions to the ID Token using Actions?](https://community.auth0.com/t/how-to-add-roles-and-permissions-to-the-id-token-using-actions/84506) and also this [Create Custom Claims](https://auth0.com/docs/secure/tokens/json-web-tokens/create-namespaced-custom-claims)

Note that neither `https://abcnamespace` nor `abcnamespace` would show up in the access token or userinfo endpoint

---

_[View the full topic](https://community.auth0.com/t/unable-to-retrieve-custom-roles-claim-from-access-token-at-userinfo-endpoint/111743)._
