# How can I read the claims from the access token payload in java?

**URL:** <https://community.auth0.com/t/how-can-i-read-the-claims-from-the-access-token-payload-in-java/8210>\
**Category:** Get Help\
**Tags:** claims\
**Created:** [September 16, 2017, 8:49am UTC](https://community.auth0.com/t/how-can-i-read-the-claims-from-the-access-token-payload-in-java/8210 "2017-09-16T08:49:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![robertocorona74](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@robertocorona74](https://community.auth0.com/u/robertocorona74)\
**Post date:** [September 16, 2017, 8:49am UTC](https://community.auth0.com/t/how-can-i-read-the-claims-from-the-access-token-payload-in-java/8210/1 "2017-09-16T08:49:03Z")

</div>

How can I read the claims from the access token payload in java?

---

<div class="post-metadata">

**Author:** ![hsq125](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/hsq125/32/12460_2.png) [@hsq125](https://community.auth0.com/u/hsq125)\
**Post date:** [October 21, 2017, 10:39pm UTC](https://community.auth0.com/t/how-can-i-read-the-claims-from-the-access-token-payload-in-java/8210/2 "2017-10-21T22:39:27Z")

</div>

No answer on this? It is such a basic use case. Nothing in the documentation, no answer by the community. I really start having doubt about auth0 credibility…

---

<div class="post-metadata">

**Author:** ![rogier](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rogier/32/11879_2.png) [@rogier](https://community.auth0.com/u/rogier)\
**Post date:** [January 8, 2018, 5:31pm UTC](https://community.auth0.com/t/how-can-i-read-the-claims-from-the-access-token-payload-in-java/8210/3 "2018-01-08T17:31:27Z")

</div>

Can someone please answer this? Lots of info on how to add custom claims to the token, but how to read the claims from Spring/Java is nowhere to be found…

---

<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/how-can-i-read-the-claims-from-the-access-token-payload-in-java/8210/4 "2018-03-02T05:56:32Z")

</div>


