code: function verifier (provider, configuration) {
    return function (req, user, done) {
      if (typeof provider.mapping.id === 'function') {
        user.id = provider.mapping.id(user)
      } else {
        user.id = user[provider.mapping.id]
      }
      console.log(user, user.getAssertionXml())
      User.connect(req, null, user, done)
    }
  }
docs: Verifier