2021年4月30日星期五

Auth0 - where can I get JWT signing secret

I am new to Auth0 and looking to implement Auth0 with SPA for frontend and AWS Lambda for backend.

There are many tutorials on validating Auth0 JWT token using packages like express-jwt, jwks-rsa or using API gateway's Authorizer but is there a way to retrieve the Auth0 secret (tokenSecret) so I can validate it using jwt.verify method?

const jwt = require('jsonwebtoken');    jwt.verify(accessToken, tokenSecret, (err, decoded) => {        tokenError = err;          decrytedData = decoded;      });    
https://stackoverflow.com/questions/67342327/auth0-where-can-i-get-jwt-signing-secret May 01, 2021 at 10:10AM

没有评论:

发表评论