diff --git a/app/controllers/api/base_controller.rb b/app/controllers/api/base_controller.rb index f6e85528..283d8c37 100644 --- a/app/controllers/api/base_controller.rb +++ b/app/controllers/api/base_controller.rb @@ -94,6 +94,7 @@ class Api::BaseController < ApplicationController end def authorize_if_got_token!(*scopes) + Doorkeeper::AccessToken.connection.stick_to_master! doorkeeper_authorize!(*scopes) if doorkeeper_token end