algorithm should be set express-jwt code example
Example: throw new Error('algorithms should be set');
expressJwt({ secret: process.env.JWT_SECRET, algorithms: ['RS256'] });
expressJwt({ secret: process.env.JWT_SECRET, algorithms: ['RS256'] });