Skip to content

triauth for Canvas LMSOIDC

Let teachers and students open Canvas with one approval on their own device, and no Canvas passwords.

  • Education
  • Open source
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

  1. Open oidc.triauth.org and enter your domain. Paste Canvas' redirect address, https://canvas.example.com/login/oauth2/callback with your own Canvas address in place of canvas.example.com, and click Connect app. The bridge gives you a client ID and a client secret.
  2. 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-configuration with your domain in place of example.com as the discovery URL, and Canvas fills in the issuer and the addresses. Paste the client ID and the client secret, set Login Attribute to email, and add email profile as the scope. Tick Just in Time Provisioning if new people should get an account at their first sign-in, and map the federated attributes email and name. Save.
  3. 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

SettingValue
Redirect addresshttps://<your-canvas>/login/oauth2/callback
Where in CanvasAdmin › account › Authentication › OpenID Connect
Discovery URLhttps://oidc.triauth.org/<your domain>/.well-known/openid-configuration, which fills the issuer, the addresses, and the JWKS URI
Login Attributeemail, which is the identifier
Token Endpoint Authentication Methodclient_secret_post or client_secret_basic, both work
End Session Endpointleave 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

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.