Doris, can you please investigate this and check if it is a problem on
the latest master and the latest 20.04?

Thank you
Kristina

** Changed in: mahara
     Assignee: (unassigned) => Doris Tam (doristam)

-- 
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:
  New

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