Skip to content

Commit

Permalink
fix: update auth parameters for badgr
Browse files Browse the repository at this point in the history
  • Loading branch information
Ali Salman authored and Ali Salman committed Jan 2, 2024
1 parent 392df4e commit da86582
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lms/djangoapps/badges/backends/badgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,8 @@ def _get_and_cache_oauth_tokens(self, refresh_token=None):
data = {
'username': settings.BADGR_USERNAME,
'password': settings.BADGR_PASSWORD,
'grant_type': 'password',
'client_id': 'public'
}
if refresh_token:
data = {
Expand Down

0 comments on commit da86582

Please sign in to comment.