Fails to validate JWT token from Native application

We verify JWT access token with JWKS from “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), it should work with our all applications.

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

Why it doesn’t work?

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.

Sorry, it works. Thank you.

1 Like

Okay, I’ll mark it as resolved.