Reviewed: https://reviews.mahara.org/c/mahara/+/13200 Committed: https://git.mahara.org/mahara/mahara/commit/94f76c778e7179a19b7c46840e0a2eb3199a3c48 Submitter: "Robert Lyon <robe...@catalyst.net.nz>" Branch: 22.04_DEV
commit 94f76c778e7179a19b7c46840e0a2eb3199a3c48 Author: Robert Lyon <robe...@catalyst.net.nz> Date: Thu Sep 1 17:20:19 2022 +1200 Bug 1988692: Fixing badgr API calls This patch - updates the API calls - records the refresh token and the expiry time - handle refreshing tokens as a cron job Change-Id: I4c2eb50cda031a107e5f01cda3348a5a23da589b Signed-off-by: Robert Lyon <robe...@catalyst.net.nz> (cherry picked from commit fb7ea62d39634c4b61817932f24ca0319d1973b5) -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: mahara-contributors https://bugs.launchpad.net/bugs/1988692 Title: Badgr API has changed and badges not displaying anymore Status in Mahara: Fix Committed Status in Mahara 21.04 series: Fix Committed Status in Mahara 21.10 series: Fix Committed Status in Mahara 22.04 series: Fix Committed Status in Mahara 22.10 series: Fix Committed Bug description: The Badgr API uses a newer token system where the token needs regular refreshing - the current system does not refresh the token. Need to - update the API calls to fetch new information with authentication 'Bearer' instead of 'Token' - record the expiry of the token and the 'refresh_token' value too - have a cron to refresh tokens with the 'refresh_token' value on a once a day basis but not to refresh all the tokens at once (stagger things) To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1988692/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp