fixed algos
parent
fa5dc6c535
commit
427cf7aa94
|
@ -78,7 +78,7 @@ const cookieExtractor = function (req) {
|
||||||
const opts = {};
|
const opts = {};
|
||||||
opts.jwtFromRequest = cookieExtractor;
|
opts.jwtFromRequest = cookieExtractor;
|
||||||
opts.secretOrKey = PUB_KEY;
|
opts.secretOrKey = PUB_KEY;
|
||||||
opts.algorithms = ['RS256', 'ES256', 'HS256'];
|
opts.algorithms = ['RS256'];
|
||||||
//opts.issuer = 'localhost';
|
//opts.issuer = 'localhost';
|
||||||
//opts.audience = 'localhost';
|
//opts.audience = 'localhost';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue