require 'oauth/controllers/provider_controller' class OauthController < ApplicationController include OAuth::Controllers::ProviderController # Override this to match your authorization page form # It currently expects a checkbox called authorize # def user_authorizes_token? # params[:authorize] == '1' # end end