Skip to content
forked from nicklathe/lti-app

Simple LTI app for testing with Canvas LMS

Notifications You must be signed in to change notification settings

elf-code/lti-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LTI Test App

This app is for testing LTI with Canvas. It expects Canvas to be running locally via Docker. See Canvas for Docker setup instructions

Quick Start

  1. Install dependencies
npm install
  1. Build the Docker image
npm run docker-build
  1. Run the Docker image
npm run docker-run
  1. Alternitively, you can just run it via Node with node index.js instead of Docker.

This will start the app listening on http://0.0.0.0:3000. The app is set up to log request and responses, so you can see what the contents of the LTI launch flow are.

Canvas Setup

  • In Canvas, you'll need to configure the LTI App. In the Admin page, click on the 'Developer Keys` section in the left navigation menu.
  • Click on the + Devloper Key button, and select LTI Key
  • The three important URLs to know are the following:
    • Target Link URI = http://localhost:3000/target
    • OpenID Connect Initiation URL = http://localhost:3000/launch
    • Redirect URIs = http://localhost:3000/oidc/authenticate
  • You'll also want to give this LTI app a Name, Title, and Description which are required
  • Ignore JWK configuration for now
  • Click Save
  • After saving, make sure to enable the Key to On
  • From here, you can add the LTI App in an Assigment view

About

Simple LTI app for testing with Canvas LMS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.6%
  • Dockerfile 3.4%