Canvas
  • 18 Jan 2023
  • 1 Minute to read
  • Dark
    Light

Canvas

  • Dark
    Light

Article Summary

The Canvas tab contains settings that enable syncing roster data from Canvas.

Canvas.png

Setup

In Canvas go to the Admin menu, then the Developer Keys submenu.

Step 1.png

Click the +Developer Key button to add a new key

Step 2.png

Enter any key name and owner email address. In the Redirect URI (Legacy) field enter:

https://deviceconsole.securly.com/en/app/canvas/callback

2022-03-17_10-22-42.png

Click Enforce Scopes to enable it.

Step 5.png

There are 6 scopes that need to be enabled. Expand the category for each one to find the scope and click the checkbox to enable it.

Expand the Accounts category and check the boxes for the following scopes:

Accounts category:

  • url:GET|api/v1/accounts
  • url:GET|api/v1/accounts/:account_id/courses
  • url:GET|api/v1/accounts/:account_id/sub_accounts
  • url:GET|api/v1/accounts/:account_id/scopes

Courses category:

  • url:GET|api/v1/courses/:course_id/users
  • url:GET|api/v1/courses/:course_id/assignments

Sections category:

  • url:GET|/api/v1/courses/:course_id/sections

Enrollments_api category:

  • url:GET|/api/v1/sections/:section_id/enrollments
  • url:GET|/api/v1/sections/:id

Verify that all above scopes are selected and click Save Key

2021-11-01_16-31-47.png

The new key entry will be displayed.

2021-11-01_16-32-04.png

Change the key state to On.

2021-11-01_16-32-24.png

Copy the number above the Show Key button and paste it into Securly Device Console in the Consumer Key field.

Click the Show Key button, copy the value shown and paste it into Securly Device Console into the Consumer Secret field.

For the URL, enter the base URL of your Canvas site. This would be the URL in the address bar after you are logged into Canvas up to the point of the first slash. For example, if you login to Canvas and then see the URL:

http://ec2-33-222-208-11.compute-1.amazonaws.com/login/canvas 

in the address bar, you should enter the base URL

http://ec2-33-222-208-11.compute-1.amazonaws.com

After entering the values, click the Link Account button, then authorize the link with Canvas.

Note

Any teacher found on an incoming class roster will automatically be created as a Device Console user with the "Teacher" role in Securly Classroom.

After the sync completes, your Canvas classes should now be visible in Classes.

Auto create locations from roster data

When this setting is enabled, the sync process will automatically create new locations in Securly Classroom based on data found on the roster import. If not selected, all classes from the sync will be created in the Main Location.


Was this article helpful?

What's Next