← Back to team overview

mahara-contributors team mailing list archive

[Bug 1988692] [NEW] Badgr API has changed and badges not displaying anymore

 

Public bug reported:

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)

** Affects: mahara
     Importance: High
         Status: In Progress

** Changed in: mahara
       Status: New => In Progress

** Changed in: mahara
   Importance: Undecided => High

** Changed in: mahara
    Milestone: None => 22.10.0

-- 
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:
  In Progress

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



Follow ups