fix: handle multi social auth strategies

This commit is contained in:
Nicolas Giard
2022-03-25 21:17:04 -04:00
committed by GitHub
parent 1f489a3d8e
commit a652e43ab1
19 changed files with 19 additions and 19 deletions

View File

@@ -33,7 +33,7 @@ module.exports = {
})
}
passport.use('rocketchat',
passport.use(conf.key,
new OAuth2Strategy({
authorizationURL: `${siteURL}/oauth/authorize`,
tokenURL: `${siteURL}/oauth/token`,