# Fails to validate JWT token from Native application

**URL:** <https://community.auth0.com/t/fails-to-validate-jwt-token-from-native-application/66505>\
**Category:** Get Help\
**Tags:** jwt, access-token\
**Created:** [July 21, 2021, 6:06am UTC](https://community.auth0.com/t/fails-to-validate-jwt-token-from-native-application/66505 "2021-07-21T06:06:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![json](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/json/32/26230_2.png) [@json](https://community.auth0.com/u/json)\
**Post date:** [July 21, 2021, 6:06am UTC](https://community.auth0.com/t/fails-to-validate-jwt-token-from-native-application/66505/1 "2021-07-21T06:06:18Z")

</div>

We verify JWT access token with JWKS from “[https://OUR\_DOMAIN/.well-known/jwks.json](https://our_domain/.well-known/jwks.json)”.

It works with access tokens from Web applications but does not work with access tokens from Native applications. (signature error)

Following the document([Validate JSON Web Tokens](https://auth0.com/docs/tokens/json-web-tokens/validate-json-web-tokens#verify-rs256-signed-tokens)), it should work with our all applications.

Both access token from Web and Native application have the same kid.

Why it doesn’t work?

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [July 21, 2021, 5:19pm UTC](https://community.auth0.com/t/fails-to-validate-jwt-token-from-native-application/66505/3 "2021-07-21T17:19:00Z")

</div>

Hi @json,

It’s hard to say why it wouldn’t be working without having a better understanding of what is going on. Can you please share examples of the tokens, and any other information you think is relevant? Also posting the full error is helpful.

Usually a signature error means that something in the token is being changed, or you are using the wrong keys.

---

<div class="post-metadata">

**Author:** ![json](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/json/32/26230_2.png) [@json](https://community.auth0.com/u/json)\
**Post date:** [July 22, 2021, 2:55am UTC](https://community.auth0.com/t/fails-to-validate-jwt-token-from-native-application/66505/5 "2021-07-22T02:55:09Z")

</div>

Sorry, it works. Thank you.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [July 22, 2021, 3:35pm UTC](https://community.auth0.com/t/fails-to-validate-jwt-token-from-native-application/66505/6 "2021-07-22T15:35:47Z")

</div>

Okay, I’ll mark it as resolved.

---

<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:** [August 6, 2021, 3:35pm UTC](https://community.auth0.com/t/fails-to-validate-jwt-token-from-native-application/66505/7 "2021-08-06T15:35:48Z")

</div>

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