I pulled down the “Calling an API” example for jQuery, installed it and started it running.
The main page comes up fine but I get an “invalid token” caused by an algorithm snafu. Everything seems to be configured for RS256, but I get this error:
Object {error: “invalid_token”,
errorDescription: “Algorithm HS256 is
not supported. (Expected algs:
[RS256])”}error:
"invalid_token"errorDescription:
"Algorithm HS256 is not supported.
(Expected algs: [RS256])"proto:
Object
Any suggestions would be appreciated.
https://auth0.com/docs/quickstart/spa/jquery/03-calling-an-api