Skip to content

Add support for Canvas ltiLaunchUrl in outcome request #77

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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