oidc/determineProvider.js
function determineProvider (req, res, next) {
  var providerID = req.params.provider || req.body.provider
  if (providerID && settings.providers[providerID]) {
    req.provider = providers[providerID]
  }
  next()
}
function determineProvider (req, res, next) {
  var providerID = req.params.provider || req.body.provider
  if (providerID && settings.providers[providerID]) {
    req.provider = providers[providerID]
  }
  next()
}
function determineProvider ( req , res , next ) { var providerID = req . params . provider || req . body . provider if ( providerID && settings . providers [ providerID ] ) { req . provider = providers [ providerID ] } next ( ) }
Determine provider middleware
Determine provider middleware