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