I created wishlist item bug #2006642 to track the multiple backpacks.

If regional end points are still a problem, there is an early fix at
https://reviews.mahara.org/c/mahara/+/13496 which still needs more work
as the Badgr URLs for the community site have changed.

** Changed in: mahara
       Status: Confirmed => Won't Fix

-- 
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/1945959

Title:
  Configuration of custom Badgr server URL for Open Badges displayer
  sources is broken

Status in Mahara:
  Won't Fix

Bug description:
  Mahara 20.04.2 (same bug in current master branch on github)
  Ubuntu Server 18.04 LTS
  MariaDB 10.3
  Firefox 92.0.1

  Configuration of custom badgr server URL breaks functionality. Token
  can be generated, but no collections can be accessed.

  Bug in blocktype/openbadgedisplayer/lib.php
  Lines 513 and 613 check for hardcoded API-URL

  Replace
         if ($backpack_url == 'https://api.badgr.io/') { 
  with 
         if ($host == 'badgr') { 
  to check for server type instead of server-URL and make it work.

  Not sure what to do with line 419f though...

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1945959/+subscriptions


_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to