MDL-71119 core_badges: Use basicauth and remove urlencode
commitdc4a36c3b1c9adc32fb6de69d6a29d12c0e9e963
authorSara Arjona <sara@moodle.com>
Tue, 16 Mar 2021 11:43:39 +0000 (16 12:43 +0100)
committerSara Arjona <sara@moodle.com>
Wed, 14 Apr 2021 09:04:28 +0000 (14 11:04 +0200)
tree0c58b0038a4bd07057086bcd55e476d6e0322e45
parent946120eeeeeff8ff28d83d0ad0dd2b3e64c9d23d
MDL-71119 core_badges: Use basicauth and remove urlencode

Basic authorization header is required to get token. Besides, client
id and secret shouldn't call urlencode.
badges/classes/oauth2/client.php