It’s possible that your audience contains your domain name. If you log in to your Auth0 Dashboard and go to Applications > APIs, you’ll see your APIs and their audiences. Copy it and put it in your JavaScript as a parameter and it should get you a JWT for the access token.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Auth0 JWT Malformed, also token is A256GCM | 11 | 2960 | March 9, 2023 | |
UnauthorizedError: jwt malformed error when authenticating | 1 | 7210 | August 20, 2019 | |
Unable to verify jwt generated by auth0 | 6 | 12988 | March 2, 2018 | |
How to solve "Decryption failed. No Keys tried" error calling ValidateToken | 2 | 138 | February 3, 2025 | |
Access token fails validation | 4 | 6539 | January 27, 2019 |