diff --git a/app/controllers/concerns/omniauth_helper.rb b/app/controllers/concerns/omniauth_helper.rb index 94803cb6..4850361f 100644 --- a/app/controllers/concerns/omniauth_helper.rb +++ b/app/controllers/concerns/omniauth_helper.rb @@ -29,6 +29,7 @@ def omniauth_client_token(lti_broker_url) grant_type: 'client_credentials', client_id: Rails.configuration.omniauth_key, client_secret: Rails.configuration.omniauth_secret, + scope: 'api', } response = RestClient.post("#{lti_broker_url}/oauth/token", oauth_options) JSON.parse(response)['access_token']