fix: incompatibility issues with passport-openidconnect@0.1.1 (#5799)
* fix: incompatibility issues with passport-openidconnect * fix: remove a trailing semicolon
This commit is contained in:
		
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							2cb304100c
						
					
				
				
					commit
					445ad05a3d
				
			| @@ -20,7 +20,9 @@ module.exports = { | |||||||
|         userInfoURL: conf.userInfoURL, |         userInfoURL: conf.userInfoURL, | ||||||
|         callbackURL: conf.callbackURL, |         callbackURL: conf.callbackURL, | ||||||
|         passReqToCallback: true |         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 { |         try { | ||||||
|           const user = await WIKI.models.users.processProfile({ |           const user = await WIKI.models.users.processProfile({ | ||||||
|             providerKey: req.params.strategy, |             providerKey: req.params.strategy, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user