# How to decode the access/id token in a mobile app using React-native-Auth0 SDK?

**URL:** <https://community.auth0.com/t/how-to-decode-the-access-id-token-in-a-mobile-app-using-react-native-auth0-sdk/48732>\
**Category:** Get Help\
**Tags:** react-native-auth0, id\_token, access-token\
**Created:** [August 27, 2020, 6:38am UTC](https://community.auth0.com/t/how-to-decode-the-access-id-token-in-a-mobile-app-using-react-native-auth0-sdk/48732 "2020-08-27T06:38:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ilyas-shah](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ilyas-shah/32/14158_2.png) [@ilyas-shah](https://community.auth0.com/u/ilyas-shah)\
**Post date:** [August 27, 2020, 6:38am UTC](https://community.auth0.com/t/how-to-decode-the-access-id-token-in-a-mobile-app-using-react-native-auth0-sdk/48732/1 "2020-08-27T06:38:11Z")

</div>

Hello community

I have a use case where I want to decode the access or id token provided by Auth0 to my mobile app after successfully authenticating the user.

Depending on the claims that are in the token, I have to do some operations in my mobile app.

For the web, I found that I can use getIdTokenClaims() method from the Auth–react SDK to get the JWT token claims but for mobile SDK, I couldn’t find anything.

Any suggestions would be appreciated.  
@dan-auth0 @dan.woda

Thanks

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [August 27, 2020, 9:13am UTC](https://community.auth0.com/t/how-to-decode-the-access-id-token-in-a-mobile-app-using-react-native-auth0-sdk/48732/2 "2020-08-27T09:13:18Z")

</div>

Are we talking about iOS or Android SDK?

---

<div class="post-metadata">

**Author:** ![ilyas-shah](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ilyas-shah/32/14158_2.png) [@ilyas-shah](https://community.auth0.com/u/ilyas-shah)\
**Post date:** [September 9, 2020, 3:23am UTC](https://community.auth0.com/t/how-to-decode-the-access-id-token-in-a-mobile-app-using-react-native-auth0-sdk/48732/3 "2020-09-09T03:23:51Z")

</div>

@konrad.sopala About ios.
