fix: handle multi social auth strategies
This commit is contained in:
@@ -10,7 +10,7 @@ const OpenIDConnectStrategy = require('passport-openidconnect').Strategy
|
||||
|
||||
module.exports = {
|
||||
init (passport, conf) {
|
||||
passport.use('oidc',
|
||||
passport.use(conf.key,
|
||||
new OpenIDConnectStrategy({
|
||||
authorizationURL: conf.authorizationURL,
|
||||
tokenURL: conf.tokenURL,
|
||||
|
Reference in New Issue
Block a user