IntegrationsLTI 1.3 — Launch from Canvas / Moodle

LTI 1.3 Advantage — Launch EmbayLMS from another LMS

Who this guide is for: Tenant administrators who want learners to open EmbayLMS courses from inside Canvas, Moodle, Brightspace, Blackboard or any other LTI 1.3 platform, with single sign-on, the course grade sent back to the platform’s gradebook, and (optionally) the platform’s class roster enrolled ahead of time.

Plan availability: LTI registrations are part of the developer surface and require the Growth plan or higher (same gate as API keys and webhooks).

Overview

LTI’s vocabulary is inverted from what a reader expects, so here it is once:

TermWhoIn this guide
PlatformThe LMS that launches content — Canvas, Moodle, Brightspace…your other LMS
ToolThe application being launched — EmbayLMSus
DeploymentOne placement of the tool inside the platform (Canvas issues one per account or course)a row under the platform
PlacementOne link to EmbayLMS inside a course on the platform (LTI calls it a resource link)listed under Placements

What EmbayLMS supports as an LTI 1.3 tool:

CapabilityLTI serviceWhat it does
Launch with single sign-onLTI Core 1.3A learner clicks the link in the platform and lands in the EmbayLMS course, signed in. The first launch creates their account and enrollment.
Deep linkingDeep Linking 2.0An instructor adds an EmbayLMS course to a platform course from a course picker.
Grade passbackAssignment and Grade Services (AGS) 2.0The learner’s course grade appears in the platform’s gradebook and updates as they progress.
Roster syncNames and Role Provisioning Services (NRPS) 2.0You pull the class list from the platform and enroll its learners before their first launch.

Registration is symmetric. You tell the platform our endpoints (login, launch, JWKS); you tell us the platform’s identity and endpoints (issuer, client ID, OIDC login URL, token URL, JWKS URL). Both sides then verify each other’s signed messages with public keys — there is no shared secret in LTI 1.3. When EmbayLMS calls the platform’s grade and roster services, it proves who it is with a short-lived token signed by our key, which the platform checks against our public JWKS URL.

Prerequisites

  • The Owner role, or a custom role holding integration.lti:manage.
  • Administrator access to the platform to add an external tool / developer key.
  • A course published in EmbayLMS to launch into (a deployment can be pinned to one, or left open so the platform’s deep-link picker chooses).

Step 1 — Copy our endpoints

Settings → Integrations → LTI 1.3. The Our endpoints panel lists what the platform’s “add external tool” form asks for, each with a copy button:

Field on the platformValue
OIDC login / initiation URLhttps://<your-tenant>.embaylms.com/api/v1/lti/login
Target link / launch URLhttps://<your-tenant>.embaylms.com/api/v1/lti/launch
Deep linking URLhttps://<your-tenant>.embaylms.com/api/v1/lti/deep-link
Public JWK URL / keyset URLhttps://<your-tenant>.embaylms.com/api/v1/lti/.well-known/jwks.json
Redirect URIsthe launch URL and the deep-link URL

The origin is your tenant’s own subdomain (or your custom domain) — launches resolve the tenant from the host, so a URL from another tenant’s page will not work for yours.

Step 2 — Configure the platform

Moodle (4.x and later)

  1. Site administration → Plugins → Activity modules → External tool → Manage tools → configure a tool manually.
  2. LTI version: LTI 1.3. Public key type: Keyset URL, and paste our JWKS URL.
  3. Tool URL: our launch URL. Initiate login URL: our login URL. Redirection URI(s): our launch URL and deep-link URL, one per line.
  4. Supports Deep Linking (Content-Item Message): on, with our deep-link URL as Content Selection URL.
  5. Services:
    • IMS LTI Assignment and Grade Services: Use this service for grade sync and column management.
    • IMS LTI Names and Role Provisioning: Use this service to retrieve members’ information as per privacy settings (only if you will use roster sync).
  6. Privacy: share the launcher’s name and email with the tool (Always), so the account EmbayLMS creates carries them; set Accept grades from the tool to Always.
  7. Save, then open View configuration details on the tool card: note the Platform ID (issuer), Client ID, Deployment ID, Public keyset URL, Access token URL and Authentication request URL.

Canvas

  1. Admin → Developer Keys → + Developer Key → + LTI Key. Method Manual entry.
  2. Redirect URIs: our launch and deep-link URLs. Target Link URI: our launch URL. OpenID Connect Initiation Url: our login URL. JWK Method: Public JWK URL, our JWKS URL.
  3. LTI Advantage Services: turn on Can create and view assignment data in the gradebook associated with the tool, Can view assignment data in the gradebook associated with the tool, Can create and update submission results for assignments associated with the tool and, for roster sync, Can retrieve user data associated with the context the tool is installed in.
  4. Placements: Assignment Selection and Link Selection (both use deep linking).
  5. Save, switch the key ON, and copy its client ID. Install the tool in the account (Settings → Apps → + App → By Client ID) and copy the deployment ID from the app’s settings.
  6. Canvas’s issuer is https://canvas.instructure.com; its endpoints are https://<canvas>/api/lti/authorize_redirect, https://<canvas>/login/oauth2/token and https://<canvas>/api/lti/security/jwks.

Brightspace (D2L)

Admin Tools → Manage Extensibility → LTI Advantage → Register Tool. Use our endpoints as above, enable Assignment and Grade Services and Names and Role Provisioning Services, then create a deployment and note its Deployment ID. Brightspace lists the issuer, client ID and its OAuth2 token, authentication and keyset URLs on the registration page.

Step 3 — Register the platform with EmbayLMS

Click Register a platform and fill in:

FieldWhere to find itNotes
Name—Your label, e.g. Canvas Production
IssuerPlatform’s tool detailsThe iss claim the platform sends. Canvas: https://canvas.instructure.com; Moodle: your Moodle site URL
Client IDDeveloper key / tool registrationIssued by the platform. Must be unique across your registrations
OIDC login URLPlatform’s tool detailsCanvas: https://<canvas>/api/lti/authorize_redirect; Moodle: https://<moodle>/mod/lti/auth.php
Token URLPlatform’s tool detailsCanvas: https://<canvas>/login/oauth2/token; Moodle: https://<moodle>/mod/lti/token.php. Used for grade passback and roster sync
JWKS URLPlatform’s tool detailsCanvas: https://<canvas>/api/lti/security/jwks; Moodle: https://<moodle>/mod/lti/certs.php
Deep linking enabled—On by default; lets instructors pick a course from inside the platform
Active—Off pauses launches from this platform without deleting the registration
Grade passback (Assignment and Grade Services)—On by default. Sends each learner’s course grade to the platform’s gradebook
Roster sync (Names and Role Provisioning)—Off by default. Lets you pull a course’s roster and enroll its learners before they launch

All URLs must be https:// and reach the public internet.

Step 4 — Add the deployment

Under the platform row, enter the platform’s deployment ID and optionally pin it to a course: a pinned deployment always launches that course; an unpinned one launches the course chosen with deep linking.

A platform can have several deployments (one per Canvas sub-account, say); each deployment ID must be unique within its platform.

Step 5 — Add EmbayLMS to a platform course

  • With deep linking (recommended): in the platform course, add an external tool activity (Moodle) or an assignment with External Tool submission (Canvas) and choose EmbayLMS. A picker lists your published courses; choose one and select Add. When grade passback is on, the platform creates the gradebook column at the same time.
  • With a pinned deployment: add the tool’s link anywhere in the platform course; every launch opens the pinned course.

Step 6 — Test the launch

Open the link as a learner. The first launch creates the learner’s EmbayLMS account (matched on email, or on the platform’s user id from then on) and their enrollment, and lands in the course player; later launches sign them straight in. Instructors are signed in but not enrolled as learners.

The enrollment follows the course’s own rules, exactly as when you enroll someone yourself: a course that needs manager approval creates a pending request, a full course adds the learner to its waitlist (or enrolls no one when it has none), and a course whose enrollment window is closed, or whose prerequisites the learner has not completed, enrolls no one. The learner is still signed in and sees the course page, which says why.

Which courses a link can open:

  • A deployment pinned to a course always opens that course.
  • Otherwise the link opens the course chosen with deep linking, which offers only courses in the catalog: published, not hidden, and not sold through e-commerce. A paid or hidden course can be reached through LTI only by pinning a deployment to it.

A new account counts toward your plan’s user limit. When the limit is reached, a platform user who has no EmbayLMS account yet is refused with the same message SSO shows a person without access; existing accounts keep signing in.

Launching inside the platform’s page

A platform can open EmbayLMS in a new window or inside its own page: Moodle’s Launch container (Embed, Embed, without blocks or New window) and Canvas iframe placements all work. Choose what suits your course; nothing changes on the EmbayLMS side.

Inside the platform’s page:

  • The learner is signed in and sees the course player inside the platform’s frame. Only the platform that launched the course may show it this way, and only the learner’s own pages (the course player, the learner home, My learning, the catalog and the transcript). Administration, teaching and account settings pages never open inside another site.
  • Chrome, Edge and Firefox keep the sign-in inside the frame.
  • Safari, Brave and some private windows block the cookies a sign-in needs inside another site’s page. There the frame shows Continue in a new window, with the name of the account it will open and an Open in a new window button. The course then opens, signed in, in a new window or tab. The button works for two minutes; after that the learner opens the activity again.
  • The permission to show EmbayLMS inside the platform lasts eight hours after a launch. Opening the activity again renews it.

Grade passback (AGS)

When Grade passback (Assignment and Grade Services) is on and the platform offered the service on a link, EmbayLMS posts the learner’s course grade to the link’s gradebook column every time their progress changes.

The grade sent (out of 100):

CourseGrade
Has required assessmentsThe average of the learner’s best score on each required assessment; an assessment not yet taken counts as 0
No required assessmentsProgress through the required modules; 100 when the course is complete

The gradebook shows the grade as final once the course is complete. Before that, EmbayLMS reports the learner as in progress, and most platforms (Moodle among them) leave the cell empty until the final grade arrives. An essay waiting for an instructor’s grading is reported as pending manual grading.

The gradebook column. A link created through deep linking gets its column from the platform. For any other link, EmbayLMS finds the column bound to the link or creates one named after the course on the first grade; creating one needs the platform to grant the line-item scope (Moodle: grade sync and column management; Canvas: Can create and view assignment data).

Retries. A grade that cannot be delivered because the platform is unreachable or busy is retried six times over about fifteen minutes. A grade the platform refuses outright is marked failed straight away. Failed grades are counted under Placements; Retry failed grades sends them again once the cause is fixed. An unchanged grade is never sent twice.

Roster sync (NRPS)

When Roster sync (Names and Role Provisioning) is on, each placement whose platform offered a roster shows Sync roster. A sync:

  • reads the platform’s member list for that course, page by page (up to 5,000 members);
  • for every active member with the Learner role (not instructors), finds their EmbayLMS account — by the platform’s user id, then by email — or creates one, and enrolls them in the placement’s course;
  • binds each enrollment to the gradebook column when grade passback is on, so grades flow even for learners who never launch from the platform;
  • never unenrolls or deactivates anyone. Members who left the course keep their EmbayLMS access until you change it on the Users screen;
  • stops creating accounts at your plan’s user limit (the placement shows seat_cap_reached), and follows the course’s enrollment rules like a launch.

A deployment you deactivate stops syncing at once, even for a sync already queued.

Accounts created by a roster sync count as active users for billing, which is why roster sync is off by default. Each sync, and each account and enrollment it creates, writes an audit-log entry.

Placements

Under each registered platform, Placements lists the links the platform has launched (most recent first), with:

ColumnMeaning
CourseThe EmbayLMS course the link opens, or Not linked to a course
GradesHow many learners’ grades were sent, are waiting, or failed; when the last grade was sent; the last error code
RosterWhen the roster was last synced and how many learners it held, or the error code of a failed sync

A placement appears after the first launch from it.

Configuration reference

FieldRequiredDescription
NameYesLabel shown in the list
IssuerYesThe platform’s OIDC issuer (iss)
Client IDYesPlatform-issued; unique per tenant
OIDC login URLYesWhere we send the login initiation
Token URLYesWhere we obtain the tokens for grade passback and roster sync
JWKS URLYesWhere we fetch the platform’s public keys
Deep linking enabled—Default on
Active—Default on
Grade passback—Default on
Roster sync—Default off
Deployment IDYes (per deployment)From the platform; unique per platform
Pinned courseNo (per deployment)Published courses only

Every create, edit and delete writes an audit-log entry (lti_tool, lti_deployment), as do roster syncs (lti_roster) and grade retries. Deleting a platform deletes its deployments, placements and grade links, and refuses its next launch immediately.

Security

  • Each login gets a single-use state and nonce, valid ten minutes, and the state is tied to the browser that started the login by a short-lived secure cookie. A launch must present all three, so a captured launch cannot be replayed and cannot be forced into someone else’s browser.

  • Inside a platform’s page, only the platform that launched the course may frame EmbayLMS, and only the learner’s own pages. The cookies that keep the learner signed in there are partitioned: the browser keeps them for that platform’s page alone. If the browser refuses them, nothing signs in inside the frame; the learner continues in a new window, where the page names the account first.

  • A person the platform sends without an email gets a placeholder address specific to that registration, so two platforms that happen to number their users the same way never share an account.

  • The launch token is verified against the JWKS URL of the platform the login was started for, with RS256 only, and must be less than ten minutes old.

  • EmbayLMS calls the platform only at the public https:// URLs of the registration and of the platform’s own signed launch messages, and refuses any address that resolves to a private network.

  • An account created from LTI is a Learner or an Instructor, never an administrator, and a launch never changes the role of an existing account.

  • LTI never opens an account that can administer your organization, even when the platform sends that person’s email. That covers the Owner, Admin, Group Admin and E-commerce Admin roles, and any custom role holding one of these permissions:

    • creating, editing, deactivating, deleting, importing, exporting or impersonating users, or assigning roles;
    • managing roles, or creating, editing or deleting groups, managing their members or appointing group admins;
    • turning skills planning on or off;
    • any permission in the Settings, Integrations or Billing areas, including the ones that only let someone view them;
    • managing e-commerce: products, prices, coupons, orders, refunds or the storefront.

    EmbayLMS checks every role the person holds, the same way it does at sign-in. They are refused with a message asking them to sign in to EmbayLMS directly, and a roster sync skips them. A custom role limited to courses, content, learning paths, quizzes, grading, sessions, certificates, templates, reports, messaging, gamification, viewing users, groups or roles, viewing e-commerce and revenue, and skills (except the skills planning switch) does not block LTI.

Troubleshooting

SymptomLikely cause / fix
”A platform with this client ID is already registered”Each client ID can be registered once. Edit the existing row instead, or delete it first.
Launch lands on the sign-in page with an errorThe client ID, issuer or deployment ID in the launch does not match a registration, the registration is inactive, or the launch took more than ten minutes. Check the three values against the platform’s tool details.
The platform’s page shows a blank frame or “refused to connect”The learner opened a page that never shows inside another site (administration, teaching or account settings), or the launch is more than eight hours old. Open the activity again from the platform, or set it to open in a new window.
Learners see Continue in a new window inside the platformTheir browser (Safari, Brave, a private window) blocks the cookies a sign-in needs inside another site’s page. Expected: Open in a new window signs them in. To avoid the extra step, set the activity to open in a new window.
Launch fails with a signature errorThe JWKS URL is wrong or unreachable, or the platform rotated its key — re-check the URL and retry.
Grade error token_http_401 or token_http_400The platform could not verify our token request. Check that the platform has our JWKS URL as the tool’s public keyset URL and that the Client ID and Token URL match.
Grade error lineitem_scope_not_granted or lineitem_missing_readonlyThe platform did not allow EmbayLMS to find or create the gradebook column. Turn on column management for the tool (Moodle) or the assignment-data scopes (Canvas), or add the course with deep linking so the platform creates the column.
Grade error score_http_403 or score_http_404The platform refused the grade: the column was deleted, or grade sync was turned off for the tool. Re-add the link, then Retry failed grades.
Grade error lti_key_not_configuredEmbayLMS’s signing key is not set up on our side. Contact EmbayLMS support.
Roster error nrps_http_403The platform did not grant roster access to the tool, or its privacy settings hide members.
Roster error no_courseThe placement is not linked to a course. Pin the deployment to a course, or add the link with deep linking.
Roster error roster_truncatedThe course has more than 5,000 members; the first 5,000 were synced.
Roster error seat_cap_reachedYour plan’s user limit stopped the sync from creating more accounts. Deactivate unused accounts or change plans, then sync again.
A learner launches but is not enrolledThe course needs approval (a request is waiting), is full, its enrollment window is closed, or the learner has not completed its prerequisites. The course page says which.
A person is refused at launch with a message about administration rights, or never appears after a roster syncBy design: LTI never opens an account that can administer your organization (Owner, Admin, Group Admin, E-commerce Admin, or a custom role with one of the permissions listed under the security section above, including any Settings, Integrations or Billing permission and the skills planning switch), even when the platform sends that person’s email. They sign in to EmbayLMS directly. To let them use LTI as a learner, remove that power from their roles.
Sync roster does not appearRoster sync is off on the registration, or the platform did not offer a roster for that link (check the platform’s NRPS setting, then launch the link once).
Learners the platform sends without an email get a new account after the platform was registered againThose accounts are tied to the registration. When a platform’s details change, edit its existing registration instead of registering it again.
Deep linking shows no pickerDeep linking enabled is off on the registration, or the platform placement is not a deep-link placement.
The LTI tab is missingYour plan is below Growth, or your role lacks integration.lti:view. If the permission was just granted, sign out and back in.