Learning Studio / agents
Canvas LTI 1.3 playbook: publish, link, and pass back grades
An end-to-end checklist for the instructor and the Canvas administrator, from publishing a course to seeing scores in the Canvas gradebook.
Canvas LTI 1.3 is available on Institution plans, on request. Email [email protected].
This playbook walks the full Canvas LTI 1.3 setup end to end: the instructor publishes a course and links it in Canvas, the administrator registers the tool once, and scored quizzes pass grades back to the Canvas gradebook. It builds on Add NXGen to a Canvas course (LTI 1.3), which covers the instructor’s screens in detail; use that article for the picker walkthrough and this one for the whole sequence, the administrator’s side, and troubleshooting.
NXGen acts as the LTI 1.3 tool; Canvas is the platform. Names and Role Provisioning is not implemented, and no certification against other LMS platforms is claimed here.
The end-to-end checklist
Section titled “The end-to-end checklist”- Publish the course in NXGen. In the Studio editor, use Publish in the top bar to open Publish to the web and publish the course. Learners and LTI launches always see the published snapshot, not your draft. The picker wants the course’s UUID: open the course in the Studio editor and copy the course id from the browser address bar (the URL looks like
/studio/<course id>). The dialog’s Copy link button copies the public learn link, not the UUID. - The administrator registers the tool in Canvas (once per Canvas environment — see below).
- The instructor adds an External Tool link in a Canvas module or assignment and completes the deep-linking picker.
- Test in Student View before opening the link to a class.
- Confirm the grade appears in the Canvas gradebook after a scored quiz submit.
What the Canvas administrator configures
Section titled “What the Canvas administrator configures”The exact clicks live in Canvas’s own administrator documentation; the values NXGen requires are these. All LTI settings are server-side environment variables on the NXGen deployment — names only here, never values:
LTI_CLIENT_ID— the Canvas Developer Key’s client id.LTI_DEPLOYMENT_IDS— the deployment id or ids Canvas assigns, comma-separated.LTI_PLATFORM_ISSUER— the Canvas instance’s https issuer URL.LTI_TOOL_BASE_URL— the NXGen origin Canvas launches into (https).LTI_TOOL_PRIVATE_KEY_PEMorLTI_TOOL_PRIVATE_KEY_JWK— exactly one, the tool’s private signing key, stored as a Worker secret, never committed.
Three optional variables override the platform endpoints when the defaults (derived from the issuer for self-hosted Canvas) don’t apply: LTI_PLATFORM_AUTH_URL, LTI_PLATFORM_JWKS_URL, and LTI_PLATFORM_TOKEN_URL.
In the Canvas Developer Key, the administrator points three fields at NXGen’s tool endpoints on the tool base URL:
| Canvas Developer Key field | NXGen endpoint |
|---|---|
| OpenID Connect Initiation Url | /api/lti/login |
| Target Link URI and Redirect URIs | /api/lti/launch |
| Public JWK URL | /api/lti/jwks.json |
The key also needs the deep-linking placements (assignment selection and link selection) and the Assignment and Grade Services scopes (lineitem, lineitem.readonly, result.readonly, score). After deploying, GET /api/lti/jwks.json should return the public key set Canvas will verify against. Until the LTI variables are set, every LTI endpoint answers 404 “LTI is not configured.”; when they are set incorrectly, it answers 500 with details only in the server log.
Canvas tool privacy should be set to public so gradebook rows carry learner names.
What the instructor does
Section titled “What the instructor does”Publish and copy the course ID
Section titled “Publish and copy the course ID”Only published courses can be deep-linked or opened. If you edit after publishing, republish so learners and LTI see the update. Unpublished or draft-only courses cannot be linked.
Add the link and fill the deep-linking form
Section titled “Add the link and fill the deep-linking form”- In Canvas, add an External Tool assignment or module link and choose the NXGen tool (the name your administrator gave the Developer Key).
- Canvas runs the LTI login and deep-linking flow, and NXGen opens Add Segue content to Canvas with these fields:
- Published course ID — the UUID of a course you published from NXGen.
- Title in Canvas — the title Canvas shows for the link; optional, and it defaults to “Segue course” if left blank.
- Create graded line item (AGS) — checked by default. When checked, Canvas creates a gradebook column and NXGen can send scores after a learner submits a scored quiz. Clear it for a read-only reference link.
- Score maximum — the points possible Canvas stores for the line item, from 1 to 10,000 (for example
100).
- Choose Add to Canvas. NXGen returns a signed resource link to Canvas.
Only users with an instructor-equivalent role in the launch can complete deep linking: the code accepts Instructor, Content Developer, and Instructor#TeachingAssistant (the LIS role URIs, including the teaching-assistant subtype). Learners and other roles cannot.
One known limitation: the picker does not verify that the Canvas course and the NXGen course belong to the same owner. Type the published course ID carefully.
Graded or ungraded, and what the score means
Section titled “Graded or ungraded, and what the score means”- A whole-course link (the normal picker flow) sends one course total: the latest result on each learner-visible scored quiz, summed over the total points possible. Practice quizzes never count.
- A link scoped to a single quiz sends only that quiz’s latest attempt.
- Ungraded links open the course but create no gradebook column and send no scores.
- Set Score maximum to match how you want the total scaled in the gradebook — for example
100turns a course total of 7 of 10 points into 70.
Test before class
Section titled “Test before class”- In Canvas, open the link (or the assignment) in Student View.
- Complete a scored quiz and submit. You should see your score in NXGen, and the gradebook should show the score scaled to the Score maximum you set.
- Check the ungraded link opens with no grade message.
What learners see
Section titled “What learners see”- Learners open the link from Canvas and land in the NXGen graded experience for the published course.
- Answer keys are never exposed; grading happens on the server. Hidden blocks, groups, and sections are omitted from what learners can load.
- Attempt limits set on a scored quiz are enforced on the server. When attempts are exhausted, the learner sees a message that no attempts remain.
- Practice (knowledge-check) quizzes grade for feedback, send nothing to Canvas, and don’t block Next on quiz pages.
- With in-order navigation, learners must pass scored quizzes on a quiz page before Next unlocks; prior passes restore when they return.
How grade passback behaves
Section titled “How grade passback behaves”After a verified launch, a scored-quiz submit sends a score to Canvas through Assignment and Grade Services (AGS):
- The whole-course link posts the current course total, recomputed at each submit — not a stale single attempt.
activityProgressstays InProgress until every learner-visible scored quiz has an attempt, then becomes Completed. - A quiz-specific link posts that quiz’s latest attempt only.
- If passback fails on the learner’s last allowed attempt, NXGen stores the pending grade and retries it — when the learner reopens the course, or submits again at the attempt limit — without consuming another attempt. The retry sends the current total or quiz score.
- If passback still fails, the learner may see their score in NXGen while Canvas shows the last successful sync. Check the tool configuration with your administrator.
Troubleshooting
Section titled “Troubleshooting”| Symptom | Causes the code actually produces | What to do |
|---|---|---|
| Learners see a not-published message | The course is unpublished, or the published snapshot is missing after edits | Republish the course in NXGen; only an author with access can publish |
| A resource link opens a “not bound to a published course” page | The launch carries no custom.nxgen_course_id |
Re-create the link through the NXGen deep-linking picker rather than pasting a URL |
| No grade appears in Canvas | The link was created with Create graded line item (AGS) cleared; the submitted quiz is practice, not scored; or passback failed | Check the link’s graded setting, the quiz’s scoring mode, then the tool configuration with your administrator |
| Gradebook shows an unexpected total | The whole-course link sends the course total (latest attempt per scored quiz, summed), and a better retake raises it | Compare the total against each scored quiz’s latest attempt and the Score maximum you set |
| The instructor cannot complete deep linking | The launch lacks an instructor-equivalent role (the code accepts Instructor, Content Developer, and Instructor#TeachingAssistant); or LTI isn’t configured (404) or is misconfigured (500) | Confirm the role in the Canvas course; ask the administrator to check the Developer Key and the NXGen LTI environment variables |
| A launch fails with 401 asking to open the tool in a new window | The browser blocks all third-party cookies, so the launch state cookie can’t be set | Open the tool in a new window; iframe launches need a browser that supports partitioned cookies |
Where to go next
Section titled “Where to go next”- Add NXGen to a Canvas course (LTI 1.3) — the instructor’s screens and a worked graded-plus-ungraded example.
- Understand course quality checks — the advisory checks you may see while authoring.