-
Notifications
You must be signed in to change notification settings - Fork 51
Testing LTI integration with Canvas
cjcolvar edited this page Aug 23, 2017
·
9 revisions
This guide will walk you through how to setup the Canvas Learning Management System (LMS) and configure your Avalon development environment in order to test integration through LTI (Learning Tools Interoperability).
docker run -d --name canvas-docker -p 80:3000 -d lbjay/canvas-docker
- Uncomment the LTI authentication block under development in config/authentication.yml so it looks like:
- :name: Avalon Lti OAuth :provider: :lti :hidden: true :params: :oauth_credentials: key: 'secret'
- Create your own key/secret pair in config/authentication.yml to replace
key: 'secret'
- Start your rails server:
bundle exec rake hydra:server
- Login to Canvas The Canavs docker container has default credentials of [email protected] / canvas-docker
- Create a Course
Click
Start a New Course
and fill out the form - Setup an External Tool
- In the new course, go to Settings
- Click the Apps tab
- Click the
+App
button - Fill out the form with a name, the key/secret pair you made before, and a Launch URL that points to your Avalon instance:
http://127.0.0.1:3000/users/auth/lti/callback
- Add the External Tool to a Module
- Go to Modules
- Create a new Module
- Click the
+
button within your new module- Select
External Tool
from the dropdown menu - Fill in the Launch URL from above and give it a name
- Click
Add Item
- Select