mirror of
				https://github.com/Ylianst/MeshCentral.git
				synced 2025-03-09 15:40:18 +00:00 
			
		
		
		
	swapped to working passport oidc module
This commit is contained in:
		
							parent
							
								
									4eefe1531c
								
							
						
					
					
						commit
						149573a878
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -6255,7 +6255,7 @@ module.exports.CreateWebServer = function (parent, db, args, certificates, doneF | |||
|                         responseMode: 'form_post' , | ||||
|                         state: true | ||||
|                     }; | ||||
|                     const OIDCStrategy = require('passport-openidconnect'); | ||||
|                     const OIDCStrategy = require('passport-generic-oidc'); | ||||
|                     if (typeof domain.authstrategies.oidc.callbackurl == 'string') { options.callbackURL = domain.authstrategies.oidc.callbackurl; } else { options.callbackURL = url + 'oidc-callback'; } | ||||
|                     parent.debug('web', 'Adding Generic OIDC SSO with options: ' + JSON.stringify(options)); | ||||
|                     passport.use('openidconnect', new OIDCStrategy.Strategy(options, | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue