Browse Source
fix: rocket.chat 6 auth requires state
pull/7342/head
Alexander Mokrov
9 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
1 deletions
-
server/modules/authentication/rocketchat/authentication.js
|
|
@ -40,7 +40,8 @@ module.exports = { |
|
|
|
clientID: conf.clientId, |
|
|
|
clientSecret: conf.clientSecret, |
|
|
|
callbackURL: conf.callbackURL, |
|
|
|
passReqToCallback: true |
|
|
|
passReqToCallback: true, |
|
|
|
state: true |
|
|
|
}, async (req, accessToken, refreshToken, profile, cb) => { |
|
|
|
try { |
|
|
|
const user = await WIKI.models.users.processProfile({ |
|
|
|