Skip to content

Commit

Permalink
Merge pull request #481 from edly-io/alisalman/fix-badgr-client
Browse files Browse the repository at this point in the history
update: client
  • Loading branch information
Ali-Salman29 authored Jan 4, 2024
2 parents 0bb3689 + c987ad1 commit 16ea6c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lms/djangoapps/badges/backends/badgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,8 @@ def _get_and_cache_oauth_tokens(self, refresh_token=None):
if refresh_token:
data = {
'grant_type': 'refresh_token',
'refresh_token': refresh_token
'refresh_token': refresh_token,
'client_id': 'public'
}

oauth_url = "{}/o/token".format(settings.BADGR_BASE_URL)
Expand Down

0 comments on commit 16ea6c3

Please sign in to comment.