From da86582006a48ba429159855ba956c72862f7bd2 Mon Sep 17 00:00:00 2001 From: Ali Salman Date: Tue, 2 Jan 2024 11:52:12 +0500 Subject: [PATCH] fix: update auth parameters for badgr --- lms/djangoapps/badges/backends/badgr.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lms/djangoapps/badges/backends/badgr.py b/lms/djangoapps/badges/backends/badgr.py index 7569c41a2a16..82c4e39fd460 100644 --- a/lms/djangoapps/badges/backends/badgr.py +++ b/lms/djangoapps/badges/backends/badgr.py @@ -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 = {