mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-03-25 00:22:25 +00:00
Merge pull request #541 from haslersn/oauth2/set-state
This commit is contained in:
commit
623e77082f
1 changed files with 2 additions and 1 deletions
|
@ -90,7 +90,8 @@ passport.use(new OAuth2CustomStrategy({
|
|||
clientSecret: config.oauth2.clientSecret,
|
||||
callbackURL: config.serverURL + '/auth/oauth2/callback',
|
||||
userProfileURL: config.oauth2.userProfileURL,
|
||||
scope: config.oauth2.scope
|
||||
scope: config.oauth2.scope,
|
||||
state: true
|
||||
}, passportGeneralCallback))
|
||||
|
||||
oauth2Auth.get('/auth/oauth2', function (req, res, next) {
|
||||
|
|
Loading…
Reference in a new issue