# Custom claims in userinfo but not in ID token

**URL:** <https://community.auth0.com/t/custom-claims-in-userinfo-but-not-in-id-token/8198>\
**Category:** Get Help\
**Tags:** userinfo, custom-claims\
**Created:** [September 15, 2017, 6:44pm UTC](https://community.auth0.com/t/custom-claims-in-userinfo-but-not-in-id-token/8198 "2017-09-15T18:44:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![per](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/per/32/7887_2.png) [@per](https://community.auth0.com/u/per)\
**Post date:** [September 15, 2017, 6:44pm UTC](https://community.auth0.com/t/custom-claims-in-userinfo-but-not-in-id-token/8198/1 "2017-09-15T18:44:47Z")

</div>

I’d like to include custom claims in the userinfo response. I have succeeded by creating a rule that adds a custom namespaced claim to the ID token. However, the claim also appears in the ID token (obviously). Is there a way to avoid that, i.e. keep the ID token “slim”? My client code doesn’t always need these custom claims, so it’d be nice to only have them in the userinfo response.

---

<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:** [March 2, 2018, 5:56am UTC](https://community.auth0.com/t/custom-claims-in-userinfo-but-not-in-id-token/8198/2 "2018-03-02T05:56:30Z")

</div>


