You should add algorithms property to the jwt constructor.
Example;
expressJwt({ secret: process.env.JWT_SECRET, algorithms: ['RS256'] });
You should add algorithms property to the jwt constructor.
Example;
expressJwt({ secret: process.env.JWT_SECRET, algorithms: ['RS256'] });