Skip to content

Commit

Permalink
LTI-259: include scope in omniauth authenticator (#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
jfederico authored Sep 27, 2023
1 parent 22ef15b commit 4c36281
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/concerns/omniauth_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down

0 comments on commit 4c36281

Please sign in to comment.