Change Passport allowed JWT algos
parent
9e5aa72a7b
commit
00798a5247
|
@ -70,7 +70,7 @@ const cookieExtractor = function (req) {
|
|||
const opts = {};
|
||||
opts.jwtFromRequest = cookieExtractor;
|
||||
opts.secretOrKey = PUB_KEY;
|
||||
opts.algorithms = ['RS256', 'ES256', 'HS256'];
|
||||
opts.algorithms = ['RS256'];
|
||||
//opts.issuer = 'localhost';
|
||||
//opts.audience = 'localhost';
|
||||
|
||||
|
|
Loading…
Reference in New Issue