Autoproctor
← Back to Help

LMS ↔ Autoproctor Integration Guide

This is the document Autoproctor sends to any receiving LMS (e.g. www.exambenefit.com, Canvas, Blackboard, Moodle, D2L) that wants to host exams behind Autoproctor's live proctoring. It covers the two integration surfaces we ship today: LTI 1.3 Advantage for launch + grade passback, and the Autoproctor SSO Handoff Ticket so the test taker never sees a second login.

1. Base URLs & discovery endpoints

Issuer (Autoproctor):    https://www.autoproctor.com
JWKS (public keys):      https://www.autoproctor.com/api/public/lti/jwks
LTI OIDC init URL:       https://www.autoproctor.com/api/public/lti/login
LTI launch (tool URL):   https://www.autoproctor.com/api/public/lti/launch
SSO ticket audience:     <LMS origin, e.g. https://www.exambenefit.com>

2. LTI 1.3 Advantage registration

On the LMS side, register Autoproctor as an external tool with:

In Autoproctor, the admin registers the LMS the other way around (issuer + client_id + LMS JWKS URL + auth endpoint + token endpoint) at /admin/lms.

3. End-to-end flow

  1. Instructor picks a proctored exam in the LMS → OIDC third-party init → Autoproctor launch URL.
  2. Autoproctor validates the ID token against the LMS JWKS, upserts the candidate, creates an exam_attempt, and renders the proctoring workflow.
  3. Student passes ID verification (system or human).
  4. Student clicks Start Exam. Autoproctor stamps launched_at and external_exam_url on the attempt, mints a single-use SSO Handoff Ticket, and opens the LMS's callback URL in a new window with the ticket as a query parameter.
  5. The LMS validates the ticket (see §4), signs the student in silently, and serves the exam page.
  6. On submit, the LMS pushes score + status back to Autoproctor over LTI AGS. Autoproctor stores it against the attempt and shows it on the proctor console.

4. SSO Handoff Ticket (no double login)

When the student clicks Start Exam, Autoproctor sends the browser to the LMS's SSO callback URL (agreed at onboarding, e.g. https://www.exambenefit.com/sso/autoproctor/callback) with:

GET  <lms_sso_callback>?ticket=<JWT>&return=<autoproctor_return_url>&exam_url=<original_exam_url>

The ticket is a JWS signed with Autoproctor's active key (published in our JWKS). Claims:

{
  "iss":  "https://www.autoproctor.com",
  "aud":  "<LMS origin>",
  "sub":  "<stable user id or email at the LMS>",
  "email": "student@example.com",
  "exam_ref": "<LMS exam id, if known>",
  "attempt_id": "<autoproctor exam_attempt uuid>",
  "return_url": "https://www.autoproctor.com/student/session/<attempt_id>",
  "nonce": "<uuid, single-use>",
  "proctoring": { "verified_id": true, "mode": "auto" | "human" },
  "iat": 1735689600,
  "exp": 1735689660,
  "jti": "<same as nonce>"
}

LMS validation checklist:

5. Status & score push back to Autoproctor

The LMS pushes progress/final score to Autoproctor either via LTI AGS (standard) or via a signed status webhook (simpler for partners without full LTI):

POST https://www.autoproctor.com/api/public/lms/status
Authorization: Bearer <JWT signed by LMS, aud="https://www.autoproctor.com", iss=<LMS issuer>>
Content-Type: application/json

{
  "attempt_id": "<uuid from the ticket>",
  "status":     "started" | "in_progress" | "submitted" | "abandoned",
  "score":      0.87,
  "score_max":  1.0,
  "submitted_at": "2026-06-25T12:34:56Z"
}

Autoproctor verifies the webhook JWT against the LMS's registered JWKS URL, stores the result on the attempt, and closes the proctoring session automatically on submitted or abandoned.

6. Reference implementation — exambenefit.com

Our reference partner is www.exambenefit.com. Contract:

7. Security notes

← Back to Help