I’m using the following module in my express API project:
When I use a key copy/paste issued from AUTH0 I can call the API methods fine, and validate roles and permissions.
But when I use a token from mock-jwks I get the “InvalidTokenError: no applicable key found in the JSON Web Key Set” error.
Here is a screen from JWT.io with my test token:
Does anybody have suggestions as to how I might fix this?
Many thanks.