When I am getting the token after login, But when I want to verify in jwt.io the payload data is something like this:
“{"id":"643da67379850�\u0012�\u0013\u001d\n\u0010P�\u0007.�+\u0018����n˽L���NL�\f�\b�^\u001c\b��M�\u000eMM\rL�\f�”
Hi @prisoner544,
Welcome to the Auth0 Community!
I understand you encountered issues decoding your access token namely with obscure characters for the “id” claim.
Firstly, would you mind providing me with the exact steps and code you used to get the access token?
And if possible, could you send me a direct message with an example of the access token with obscure characters?
Thanks,
Rueben
Good afternoon. I used to have this error too.
Hi all,
Just circling back on the solution that @prisoner544 and I worked on through direct messages.
Essentially, the payload was in the wrong format – specifically, it was an opaque access token because the ‘audience’ parameter was not sent in the login request.
Passing an ‘audience’ in the /authorize request will generate a JWT access token.
Reference: Get Access Tokens
Thanks,
Rueben
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.