triauth for Canvas LMSOIDC
Let teachers and students open Canvas with one approval on their own device, and no Canvas passwords.
- Sign-in through
- OpenID Connect bridge
- Available in
- Every Canvas account, self-hosted or hosted by Instructure
- Set up in
- Admin › Authentication
About Canvas LMS
Canvas is a learning management system used by schools, colleges, and universities. Teachers publish course material, assignments, and grades in it, and students hand in their work and follow their courses online.
Connect Canvas LMS to triauth
Canvas signs people in through the triauth OpenID Connect bridge, added as an authentication provider. Once connected, the sign-in page offers the new provider. Teachers and students choose it, type their username, and approve on their own device. Nobody keeps a Canvas password, and when someone leaves, removing their identity records at your domain ends their access to Canvas as well.
How it works
- Open oidc.triauth.org and enter your domain. Paste Canvas' redirect address,
https://canvas.example.com/login/oauth2/callbackwith your own Canvas address in place ofcanvas.example.com, and click Connect app. The bridge gives you a client ID and a client secret. - In Canvas, open Admin, choose your account, and click Authentication. Add a provider of the type OpenID Connect. Enter
https://oidc.triauth.org/example.com/.well-known/openid-configurationwith your domain in place ofexample.comas the discovery URL, and Canvas fills in the issuer and the addresses. Paste the client ID and the client secret, set Login Attribute toemail, and addemail profileas the scope. Tick Just in Time Provisioning if new people should get an account at their first sign-in, and map the federated attributesemailandname. Save. - Open the sign-in page and choose the new provider.
Checkpoint
The sign-in page offers the new provider. Choosing it opens a page from the bridge that asks for the username, and the person's authenticator asks them to approve.
Good to know
- With Just in Time Provisioning on, everyone with an identity at your domain gets a Canvas account the first time they sign in. Without it, each person needs a Canvas login whose ID is their identifier. To let only one team in, limit the app to a group when you connect it.
- Roles and course enrollments stay managed in Canvas. The groups published at your domain are not used.
- Keep the Canvas password sign-in for at least one administrator while you set this up.
For the person who connects the app
| Setting | Value |
|---|---|
| Redirect address | https://<your-canvas>/login/oauth2/callback |
| Where in Canvas | Admin › account › Authentication › OpenID Connect |
| Discovery URL | https://oidc.triauth.org/<your domain>/.well-known/openid-configuration, which fills the issuer, the addresses, and the JWKS URI |
| Login Attribute | email, which is the identifier |
| Token Endpoint Authentication Method | client_secret_post or client_secret_basic, both work |
| End Session Endpoint | leave empty |
Canvas keeps the client secret, so leave This app can't keep a secret unticked when you connect it on the bridge. Canvas' authentication providers reference lists every field.
Next steps
- Read the OpenID Connect bridge page for what every connected app gets and what the bridge keeps private.
- Read Roll out to your team to give everyone in your organization an identifier at your domain.
- Read Groups to limit Canvas to one team when you connect it.
- Read Canvas' authentication providers reference for every setting Canvas offers.
All logos and trademarks belong to their respective owners and do not imply affiliation or endorsement of the organization or product by triauth, nor vice versa. The content provided on this page may include information from third-party sources. We do not assume any responsibility for the completeness, correctness, or applicability of the information. You should independently verify any details before relying on them.