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

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


1 Like

Are we talking about iOS or Android SDK?


@konrad.sopala About ios.