# Include client\_id into access\_token

**URL:** <https://community.auth0.com/t/include-client-id-into-access-token/117508>\
**Category:** Get Help\
**Tags:** apis, application\
**Created:** [October 1, 2023, 10:36am UTC](https://community.auth0.com/t/include-client-id-into-access-token/117508 "2023-10-01T10:36:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![phi1ipp](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/phi1ipp/32/40616_2.png) [@phi1ipp](https://community.auth0.com/u/phi1ipp)\
**Post date:** [October 1, 2023, 10:36am UTC](https://community.auth0.com/t/include-client-id-into-access-token/117508/1 "2023-10-01T10:36:45Z")

</div>

Hello gurus,

Can anybody suggest if there is a way to get `client_id` claim inside access token? This claim is “restricted”, so I assume I can’t populate/manipulate it freely with Actions.

Thank you in advance

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [October 3, 2023, 12:32am UTC](https://community.auth0.com/t/include-client-id-into-access-token/117508/2 "2023-10-03T00:32:43Z")

</div>

Hey there @phi1ipp !

You are correct in that `client_id` is a [restricted claim](https://auth0.com/docs/secure/tokens/json-web-tokens/create-custom-claims#general-restrictions) and therefore can’t be utilized in Actions. You can however get the `client_id` value from the `azp` claim OR add a custom claim with your own namespace.

---

<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:** [October 17, 2023, 12:33am UTC](https://community.auth0.com/t/include-client-id-into-access-token/117508/4 "2023-10-17T00:33:06Z")

</div>

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