docs: function verifyRedirectURI (req, res, next) {
    var params = req.connectParams
  
    Client.get(params.client_id, {
      private: true
    }, function (err, client) {
      if (err) { return next(err) }
  
      // The client must be registered.
      if (!client || client.redirect_uris.indexOf(params.redirect_uri) === -1) {
        delete req.connectParams.client_id
        delete req.connectParams.redirect_uri
        delete req.connectParams.response_type
        delete req.connectParams.scope
        return next()
      }
  
      // Make client available to downstream middleware.
      req.client = client
  
      next()
    })
  }