by Jake Dallimore.
Hi Andrew,
I would probably debug that openid-registration.php endpoint somehow (xdebug, print_r in a pinch). The good news is that it's seen the POST and has validated the registration token, so that won't be the issue. Null can be returned from json_decode on this line (https://github.com/moodle/moodle/blob/ca80d53b38313edfe067184521c67320dbb9bf60/mod/lti/openid-registration.php#L53), so that's where I'd start looking. Check the payload, and make sure it can be decoded.
Cheers,
I would probably debug that openid-registration.php endpoint somehow (xdebug, print_r in a pinch). The good news is that it's seen the POST and has validated the registration token, so that won't be the issue. Null can be returned from json_decode on this line (https://github.com/moodle/moodle/blob/ca80d53b38313edfe067184521c67320dbb9bf60/mod/lti/openid-registration.php#L53), so that's where I'd start looking. Check the payload, and make sure it can be decoded.
Cheers,