Skip to content

Commit

Permalink
fix: incompatibility issues with passport-openidconnect@0.1.1 (#5799)
Browse files Browse the repository at this point in the history
* fix: incompatibility issues with passport-openidconnect

* fix: remove a trailing semicolon
  • Loading branch information
natsutteatsuiyone committed Nov 7, 2022
1 parent 2cb3041 commit 445ad05
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server/modules/authentication/oidc/authentication.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ module.exports = {
userInfoURL: conf.userInfoURL,
callbackURL: conf.callbackURL,
passReqToCallback: true
}, async (req, iss, sub, profile, cb) => {
}, async (req, iss, uiProfile, idProfile, context, idToken, accessToken, refreshToken, params, cb) => {
const profile = Object.assign({}, idProfile, uiProfile)

try {
const user = await WIKI.models.users.processProfile({
providerKey: req.params.strategy,
Expand Down

0 comments on commit 445ad05

Please sign in to comment.