Quantcast
Channel: JWT.io - Auth0 Community
Viewing all articles
Browse latest Browse all 152

Issue with express-oauth2-jwt-bearer

$
0
0

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

3 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 152

Trending Articles