You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const isAuth = jwt({
secret: config.jwtSecret, // The _secret_ to sign the JWTs
algorithms: ['HS256'], // JWT Algorithm
userProperty: 'token', // Use req.token to store the JWT
getToken: getTokenFromHeader, // How to extract the JWT from the request
});
Change algorithms value to the example I posted above
I have got token from user signIn & signUp function. But when i set token in headers authorization, It returns
i am so curious to know what this is happening.
Also I double check config values are already loaded.
Thank you.
The text was updated successfully, but these errors were encountered: