LTI 1.3 got an access token but getting list of members still fails, any reason why?

LTI 1.3 got an access token but getting list of members still fails, any reason why?

Thomas O'Connor發表於
Number of replies: 3

Using postman, I am able to get an access token from a platforms Access Token URL, but when I try and then get a list of memberships from the platform, I get this:

{
    "status": 401,
    "reason": "Unauthorized",
    "request": {
        "method": "GET",
        "url": "/moodle/mod/lti/services.php/CourseSection/1082/bindings/4/memberships",
        "accept": "application/vnd.ims.lti-nrps.v2.membershipcontainer+json"
    }
}
This only happens with a single users (schools) platform, running Moodle 3.9. Our other users, as well as our 3.9.1 sandbox on MoodleCloud work fine. Is there a setting or option that could be turned off that might cause this issue? We have tried everything I can think of to no avail.

--Tom O'Connor

Lead Developer - Hawkes Learning

評比平均分數: -
In reply to Thomas O'Connor

Re: LTI 1.3 got an access token but getting list of members still fails, any reason why?

Thomas O'Connor發表於
Any idea what could be the cause? Was there a recent change to the Moodle LTI 1.3 code? Versions previous to 3.9 seem to work fine, but now we have a couple of users who are using 3.9 and later who all have the above issue.
In reply to Thomas O'Connor

Re: LTI 1.3 got an access token but getting list of members still fails, any reason why?

Roy Burgos發表於

Hey Thomas,

Were you able to get a resolution on this? We are experiencing the same issue.

In reply to Roy Burgos

Re: LTI 1.3 got an access token but getting list of members still fails, any reason why?

Thomas O'Connor發表於

No, we are still having the same problem. As mentioned it works with a number of other schools we work with, but there are a couple where it does not. Maybe its something to do with the plugins or themes they are using. Do you know if the moodle you are having an issue with is stock or has been customized?