fix: rocket.chat 6 auth requires state

pull/7342/head
Alexander Mokrov 1 year ago committed by GitHub
parent ef5ab0ecb8
commit 832a95bf79
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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({

Loading…
Cancel
Save