Skip to content

Add support for Canvas ltiLaunchUrl in outcome request#77

Open
hmoffatt wants to merge 2 commits intopylti:masterfrom
risingsoftware:ltiLaunchUrl
Open

Add support for Canvas ltiLaunchUrl in outcome request#77
hmoffatt wants to merge 2 commits intopylti:masterfrom
risingsoftware:ltiLaunchUrl

Conversation

@hmoffatt
Copy link

Canvas LMS supports an extra field in the outcome request's resultData field called ltiLaunchUrl (in addition to the standard text and url fields). If present, Canvas will launch the URL as an LTI tool (while url just shows a page).

I need this in my application so I've added it in. It's non-standard though so you may not want to accept this.

Also, the code could be cleaned up a bit more now that there's three possible fields in the resultData, and also there needs to be unit tests added for all of the resultData code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant