mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-28 05:14:12 +03:00
Fixed express-jwt config
no-issue express-jwt expects an array of valid algorithms, not a single algorithm.
This commit is contained in:
parent
f4a060c923
commit
e14188807d
@ -23,7 +23,7 @@ module.exports = {
|
||||
requestProperty: 'member',
|
||||
audience: siteOrigin,
|
||||
issuer,
|
||||
algorithm: 'RS512',
|
||||
algorithms: ['RS512'],
|
||||
secret(req, payload, done) {
|
||||
membersService.api.getPublicConfig().then(({publicKey}) => {
|
||||
done(null, publicKey);
|
||||
|
Loading…
Reference in New Issue
Block a user