main
handleOAuth
function handleOAuth(options = {}, version = null) { return (req, res, next) => { // Handle denials if (req.query.error) { logger.error(req.query.error);