MDL-75552 badges: move apiBase consumption to backpack
commitbd214de2825a2faa514f1351e254db33d791c1da
authorAndrew Nicols <andrew@nicols.co.uk>
Wed, 26 Apr 2023 06:27:21 +0000 (26 14:27 +0800)
committerSara Arjona <sara@moodle.com>
Tue, 9 May 2023 06:50:42 +0000 (9 08:50 +0200)
tree968c3848247d907eff023d38d6683eb317078c8d
parent5d320dd7d18d2442fe2f585d653579909fe700f0
MDL-75552 badges: move apiBase consumption to backpack

The apiBase in .well-known/badgeconnect.json was ignored and it was
causing some failures when connecting or sending badges to an
external backpack.
For OBv2.1, it has been changed to always use the apiBase defined
in the badgeconnect.json backpack provider.
admin/tool/oauth2/tests/behat/basic_settings.feature
badges/classes/backpack_api2p1.php
lib/classes/oauth2/discovery/imsbadgeconnect.php