Skip to content

lti.Grade.getLineItems fails when platform only announces scope https://purl.imsglobal.org/spec/lti-ags/scope/lineitem (and not readonly) #268

@MarcVanDaele90

Description

@MarcVanDaele90

Describe the bug
Requesting lineitems in lti.Grade.getLineItems fails when platform only lists scope https://purl.imsglobal.org/spec/lti-ags/scope/lineitem since the getLineItems passes https://purl.imsglobal.org/spec/lti-ags/scope/lineitem.readonly

Expected behavior
The getLineItems should use scope https://purl.imsglobal.org/spec/lti-ags/scope/lineitem when https://purl.imsglobal.org/spec/lti-ags/scope/lineitem.readonly is not supported

Provider logs

Screenshots

Ltijs version

  • version 5.9.6

NodeJS version

  • 20

Platform used

  • works fine with Moodle and one local, Belgian, Platform, does not work yet with another local Belgian PLatform,

Additional context
I'm pretty sure I can ask the platfom to also add https://purl.imsglobal.org/spec/lti-ags/scope/lineitem.readonly but I thought it would be useful to report the issue anyhow

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions