Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (
Help us improve Python packaging - Donate today!

Django app for generating Canvas API user oauth tokens

Project Description

A reusable django app for handling the workflow of generating per-user Canvas API oauth tokens. The app assumes that your django project is using the django_auth_lti middleware.


pip install django-canvas-api-token


  1. Add "canvas_api_token" to your INSTALLED_APPS settings
  2. Insert the url configuration into your project/app
url(r'^canvas_api_token/', include('canvas_api_token.urls'))
  1. Add a LTI_APP_DEVELOPER_KEYS entry to your settings that looks like this:
    '[oauth-consumer-key]': {
        'client_id': '[client_id]',
        'client_secret': '[client_secret]'

where …

  • oauth_consumer_key value is the consumer key used when registering your LTI tool in the Canvas account admin
  • client_id is the integer client id value of your Canvas developer key
  • client_secret is the random string ‘secret’ value of your Canvas developer key


django-canvas-api-token is licensed under the BSD license

Release History

0.1.0 (2014-12-17)

  • Birth!

Release History

This version
History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(8.0 kB) Copy SHA256 Hash SHA256
py2 Wheel Dec 18, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting