Invalid access token

I got token from Auth0 but invalid access token ‘cnM9zL7xXQVq8pwt2n4S5C6zR-6Yw66G’

JWT signature is RS256.
by jwt.io port to check this token i got empty payload.

1 Like

Hi @govindsharmadln,

Welcome to the Auth0 Community!

I understand you have experienced an invalid access token error.

To better assist you, could you please clarify what SDK you are using?

And if you could please capture the login events in a HAR file and send them to me as a direct message to investigate further?

Thanks,
Rueben

I have created regular web application in based on spring boot.
I found invalid access token that why I am unable to login .
Any configuration changes are required to found correct acces token.
If required then kindly suggest me the step to enable that configuration.
To get valid token .

Hi @govindsharmadln,

Thank you for your response.

Firstly, have you made sure that your login request looks something like the following, specifically, the audience parameter is included in the request:

https://{yourDomain}/authorize?
    response_type=code&
    client_id={yourClientId}&
    redirect_uri={https://yourApp/callback}&
    scope={scope}&
    audience={apiAudience}&
    state={state}

(Reference: Call Your API Using the Authorization Code Flow)

The audience parameter is needed to get valid JWT access tokens. See Get Access Tokens for an explanation.

Additionally, I recommend checking out our Troubleshoot Invalid Token Errors documentation.

If the error persists even after the recommendations above, could you please capture the login events in a HAR file and send them to me as a direct message to investigate further?

Thanks,
Rueben

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