I want to use a middleware like that:
const verifyToken = (req, res, next) => { const token = req.headers.authorization.split(" ")[1]; const verifiedToken = jwt.verify( token, "which secret to use here?" ); next(); };
I tried every Client Secret I could find in my Auth0 account, but none worked.
Can you tell me which secret to use here?