Skip to content

Testing LTI integration with Canvas

Phil Dinh 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).

Setup Canvas with Docker

docker run -d --name canvas-docker -p 80:3000 -d lbjay/canvas-docker

Configure Avalon LTI Authentication

  1. 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'
  1. Create your own key/secret pair in config/authentication.yml to replace key: 'secret'
  2. Start your rails server: bundle exec rake hydra:server

Configure Canvas for Avalon

Configuration of Avalon LTI

Test