Closed SteelWagstaff closed 3 years ago
It appears we broke this feature with this commit: https://github.com/pressbooks/pressbooks-lti-provider/blob/5fea8646f4cb5fc87c72fc7a0c82e40f30780ba2/inc/namespace.php#L45-L52
Using https://github.com/pressbooks/pressbooks-lti-provider/blame/a8f8403bd4fd15bdd5d1b02dffa84106cad9fe0b/inc/namespace.php#L45-L51 restores functionality.
Deep linking works as expected on integrations: https://youtu.be/DQVPteR8Qao Book creation works as expected on integrations with the createbook endpoint as well. Nice work @richard015ar !
When users attempt to create deep links in Moodle, they encounter a
Invalid or missing lti_message_type parameter.
error message. See https://youtu.be/oehV2OyuUQUThis error is triggered by Moodle under these conditions: https://github.com/moodle/moodle/blob/8c5162684144853a8ee3abd0862489e88421ab83/lib/ltiprovider/src/ToolProvider/ToolProvider.php#L680-L682