Answers for "throw new Error('algorithms should be set');"

1

throw new Error('algorithms should be set');

expressJwt({ secret:  process.env.JWT_SECRET, algorithms: ['RS256'] });
Posted by: Guest on August-04-2020

Browse Popular Code Answers by Language