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:
parent
50367fafee
commit
b1e8cd3179
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue