Canvas
This guide provides step-by-step instructions for Canvas administrators to integrate Canvas with CodeChum. Follow the steps carefully to ensure a successful setup.
1. Configure Canvas Developer Key for Canvas REST API
Objective: Enable your Canvas REST API with limited permissions to be consumed by CodeChum
Steps:
Log In as Administrator in Canvas LMS.
Navigate to Admin > [Organization] > Developer Keys
Create a new Developer Key for API Key

Navigation flow to locate Developer Key Fill in the following fields:
Key Name: CodeChum App
Owner Email: [email protected]
Redirect URIs
If partnered with CodeChum please update the redirect URI with your subdomain in codechum.
https://[your_school].codechum.com/oauth?method=signup&platform=canvas
https://[your_school].codechum.com/oauth?method=login&platform=canvas
https://[your_school].codechum.com/oauth?method=private_login&platform=canvas
If not partnered, just use the app.codechum.com with your school abbreviation.
Client Credentials Audience: Canvas

Form to locate Client Credentials audience
Enable “Enforce Scopes” and enable the following specific endpoints:
/auth/userinfourl:GET|/api/v1/users/:user_id/profileurl:GET|/api/v1/users/:user_id/enrollmentsurl:GET|/api/v1/sections/:section_id/enrollmentsurl:GET|/api/v1/coursesurl:GET|/api/v1/courses/:course_id/sectionsurl:GET|/api/v1/sections/:idurl:GET|/api/v1/users/:user_id/coursesurl:GET|/api/v1/courses/:idurl:POST|/api/v1/courses/:course_id/assignmentsurl:GET|/api/v1/courses/:course_id/assignments/:idurl:PUT|/api/v1/courses/:course_id/assignments/:idurl:POST|/api/v1/courses/:course_id/submissions/update_gradesurl:POST|/api/v1/sections/:section_id/submissions/update_gradesurl:PUT|/api/v1/courses/:course_id/assignments/:assignment_id/submissions/:user_idurl:PUT|/api/v1/sections/:section_id/assignments/:assignment_id/submissions/:user_idurl:GET|/api/v1/courses/:course_id/enrollmentsurl:POST|/api/v1/courses/:course_id/enrollmentsurl:POST|/api/v1/sections/:section_id/enrollmentsurl:DELETE|/api/v1/courses/:course_id/enrollments/:idurl:GET|/api/v1/progress/:id
2. Register and Verify Integration with CodeChum
Objective: Confirm that the integration with Canvas is successful.
Steps:
Email the following to
[email protected]:Canvas Application ID
Canvas API Secret Key

Your Canvas full web URL or domain (e.g https://canvas.univ.edu).
Await confirmation from CodeChum.
Once you receive confirmation that everything is set up correctly, the integration process is complete.
Last updated