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

@@ -8,7 +8,7 @@ const CASStrategy = require('passport-cas').Strategy
module.exports = {
init (passport, conf) {
passport.use('cas',
passport.use(conf.key,
new CASStrategy({
ssoBaseURL: conf.ssoBaseURL,
serverBaseURL: conf.serverBaseURL,