-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
put_grade error 401 #80
Comments
I get the same error with Canvas. |
Same issue as #68 I think. It's assuming it has permission to access the line items without checking the scope. |
I've granted all of the scopes on the Canvas end, so I'm not sure that this is the same as #68. I feel like I'm missing something regarding the key configuration. In all other LTI 1.3 setups I've seen, the tool vendor needs the key generated by Canvas (in step 3 here it would be accessed by clicking the "Show Key" button). It seems to me that my sample tool is trying to access LTI Advantage services without an access token. |
@TarasPetrenk your error is from your WAF (mod_security) blocking the request. |
Hello, |
I installed moodle version 3.11 and know there is the option of Keyset URL. |
Hey
My name is Taras
We faced with the issue described below:
We have a problem with the tool service.
For example, we have the service "IMS LTI Assignment and Grade Services" in your library is a method "put_grade" this method makes a query "https://learn.catalynk.net/mod/lti/services.php/7/lineitems?type_id=3" in order to see line-items in the log this query returns 401
and such an error with "IMS Titles and LTI roles” on this request “https://learn.catalynk.net/mod/lti/services.php/CourseSection/7/bindings/3/memberships”.
This error occurred after the deployment on Heroku local errors are not local, I used this docker-compose for moodle
I think my moodle settings are correct
Maybe you'll have some ideas
Also here is a piece of code for a clear understanding
Thanks and look forward to hear your thoughts
Taras
The text was updated successfully, but these errors were encountered: