I followed the tutorial at Auth0 Node (Express) API SDK Quickstarts: Authorization
and created the middleware
const checkJwt = auth({
audience: process.env.AUDIENCE_ID,
issuerBaseURL: process.env.ISSUER_BASE_URL,
});
However, I get the error AssertionError: You must provide a ‘tokenSigningAlg’ for validating symmetric algorithms.
However, I am trying to validate the RS256 tokens that were created on the auth0 dashboard.
Any help would be much appreciated. Thanks