0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Added oauth parameters to get a refresh token during login

issue https://github.com/TryGhost/Team/issues/614
This commit is contained in:
Thibaut Patel 2021-04-23 11:20:40 +02:00
parent 50367fafee
commit b1e8cd3179

View file

@ -83,7 +83,9 @@ module.exports = function setupOAuthApp() {
return res.redirect('/ghost/');
}), {
scope: ['profile', 'email'],
session: false
session: false,
prompt: 'consent',
accessType: 'offline'
})(req, res, next);
};
}