Hello team,
some help would be realy appreciated!
I am developing an external tool, using pylti1p3 (https://github.com/dmitry-viskov/pylti1.3).
I have managed to launch the tool from the Moodle (3.11 and 4.1), but when the tool tries to read the Grades of the activity I get an "Unauthorized request" error.
The tool gets the Bearer Token, but from this point I can't figure out what is the problem.
I have tried to simulate the tool using Postman, but I get the same error
{ "status": 401, "reason": "Unauthorized", "request": { "method": "GET", "url": "/moodle311/mod/lti/services.php/2/lineitems?type_id=3", "accept": "*/*" } }
Colud someone assist me with some suggestions?
Thanks in advance