[ARCHIVED] LTI 1.3 Tool does not have permission to view line_item

glenn_oslin
Community Member

For some reason my tool is not able to "view" some of the line items in a course. Any idea how to fix it?

Here are the details.

We work with several schools, but North Missouri started having this issue FOR SOME STUDENTS.

If you decode the id_token you can see the default item is

https://nwmissouri.instructure.com/api/lti/courses/31079/line_items/638

However when I GET it I get this

glenn_oslin_0-1605114675512.png

I can access other ids though.

glenn_oslin_1-1605114706600.png

And I can list the line_items as well, but /638 is not in the list.

This is definitely a permissions issue but strikes me as very weird that only some students have the issue. Why?

The scopes looks correct too (Again, without the scope I shouldn't be able to access the line items)

Here's the JWT

eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IjIwMjAtMTAtMDFUMDA6MDA6MDVaIn0.eyJodHRwczovL3B1cmwuaW1zZ2xvYmFsLm9yZy9zcGVjL2x0aS9jbGFpbS9tZXNzYWdlX3R5cGUi OiJMdGlSZXNvdXJjZUxpbmtSZXF1ZXN0IiwiaHR0cHM6Ly9wdXJsLmltc2dsb2JhbC5vcmcvc3BlYy9sdGkvY2xhaW0vdmVyc2lvbiI6IjEuMy4wIiwiaHR0cHM6Ly9wdXJsLmltc2dsb2JhbC5vcmcvc3BlYy9sdGkvY2xhaW0vcmVzb3VyY2VfbG luayI6eyJpZCI6IjVhMDE5NGRmLThkOWQtNDcxMi04NTcxLWU3MWY0MTFlMGMzMSIsImRlc2NyaXB0aW9uIjoiIiwidGl0bGUiOiJMaW5rYWdlIiwidmFsaWRhdGlvbl9jb250ZXh0IjpudWxsLCJlcnJvcnMiOnsiZXJyb3JzIjp7fX19LCJodHRw czovL3B1cmwuaW1zZ2xvYmFsLm9yZy9zcGVjL2x0aS1hZ3MvY2xhaW0vZW5kcG9pbnQiOnsic2NvcGUiOlsiaHR0cHM6Ly9wdXJsLmltc2dsb2JhbC5vcmcvc3BlYy9sdGktYWdzL3Njb3BlL2xpbmVpdGVtIiwiaHR0cHM6Ly9wdXJsLmltc2dsb2 JhbC5vcmcvc3B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