mirror of
https://github.com/requarks/wiki.git
synced 2025-02-25 18:55:28 -06:00
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