Moodle LTI Advantage integration for courses and external tools
Your team needs either external tools inside Moodle courses, or Moodle courses and activities running inside another platform, and both must stay in infrastructure you control. For either direction, LTI 1.3 Advantage is the supported method, and the older LTI 1.1 and 2.0 approaches should not be used for new work. Moodle's publishing plugin states that legacy LTI 1.1 and 2.0 tools are deprecated, so any tool that only speaks those versions is a decision to revisit before the build starts, not after.
When Moodle is the consumer, a teacher adds an external tool as an activity inside a course, and Moodle sends a signed launch request that identifies the user, course and role. The work sits in the tool registration: you record the tool's issuer, client ID, deployment ID and the platform's keys on both sides, then confirm which launch and service claims the tool needs, such as names and roles, assignment and grade services, or deep linking for content selection. Ask each tool vendor which of these it requires and in which LTI 1.3 profile it is certified, because a tool that launches but cannot return grades will create manual work for every course.
When Moodle is the provider, the core Publish as LTI tool enrolment method lets you offer Moodle courses to other platforms that are registered in advance. Moodle supports LTI Advantage here, so content can be published to those platforms without changes on the receiving side each time new content is published. Plan the registration list, the courses or activities to expose, and which roles or enrolments the receiving platform may see before you enable the method, and confirm with the receiving platform's administrators which LTI services they will use. Test the full path with a non-production course and a test user on each side, including a grade return if the course is graded, before opening it to real learners.
What you need before configuring LTI Advantage
LTI Advantage connects two systems that each need to trust the other, so the work starts before any tool is added to a course. The cards below cover the Moodle release and server stack, HTTPS, accounts on both sides, network paths and the tool's own LTI 1.3 support, which you should settle before scheduling the build.
Moodle version and server stack
Pick the Moodle release first, then check its server requirements against your current hosts. Moodle 5.1 requires 64-bit PHP 8.2 or later, with PHP 8.3 and 8.4 supported, and PostgreSQL 15, MySQL 8.4, MariaDB 10.11 or SQL Server 2017 or later. Moodle 5.3 raises the floor to PHP 8.3 and PostgreSQL 17. Read the release notes for your chosen version and confirm that the site can upgrade from its current release.
Moodle releasesHTTPS and certificate requirements
LTI 1.3 launches, JWT signing and OpenID Connect redirects all depend on HTTPS endpoints that both platforms can reach. Use a certificate from a trusted authority on the Moodle hostname and on the tool's hostname, and confirm that the chain is complete for clients that do not fetch intermediates. Plan certificate renewal before go-live, because an expired certificate breaks launches without an obvious error in the course.
Admin accounts on both sides
Someone must hold site administrator rights in Moodle to register external tools and enable the enrolment plugin. The external platform needs an administrator who can create the LTI registration, enter Moodle's keyset and issuer details, and set which launch and service permissions the tool receives. Agree in writing who owns each side, who approves new registrations and who can rotate keys later.
Network paths between the two platforms
Moodle must reach the tool's launch URL, OpenID configuration and JWKS endpoints, and the tool must reach Moodle's token and keyset endpoints for service calls such as grade return. Check outbound firewall rules, proxies and any allow-lists on both sides, including internal-only networks. If Moodle runs in a constrained network, confirm which endpoints must be reachable before you configure anything.
Tool support for LTI 1.3 Advantage
Confirm in writing that the tool supports LTI 1.3 with the Advantage services you need, such as Assignment and Grade Services or Names and Role Provisioning. Many tools still offer only LTI 1.1, and Moodle's publishing feature states that LTI 1.1 and 2.0 tools are deprecated. Ask the vendor for the version, the supported services and the registration steps, then test one launch before you commit to the design.
Publish as LTI tool stringsHow an LTI 1.3 launch moves between Moodle and the tool
The launch starts when a user opens an external tool activity in a Moodle course. Moodle, acting as the platform, sends the browser to the tool's OIDC login initiation endpoint, and the tool redirects back with a signed id_token that Moodle checks before it opens the tool. The reverse path runs through the Publish as LTI tool enrolment, where an external platform registers with Moodle and receives courses and activities without changes on its side. Mark where each system's trust begins, and check the key exchange and registered redirect URIs on both ends.
Launch path from a Moodle course to an external LTI 1.3 tool, with the trust boundary between the two systems.
How to register and launch an external tool in Moodle
This sequence takes an LTI 1.3 Advantage tool from registration in Moodle to a verified launch inside a course, and then covers the reverse direction, where Moodle courses are published to another platform through the Publish as LTI tool enrolment. Each step ends with a check so the team knows it can move on.
Confirm the tool's LTI 1.3 values
Before touching Moodle, collect the values the tool vendor or your integration team must supply: the platform issuer, client ID, deployment ID, OIDC login initiation URL, tool launch URL, and the JSON Web Key Set (JWKS) URL or public key. Confirm which LTI Advantage services the tool needs, such as Assignment and Grade Services or Names and Role Provisioning, because these are switched on per tool. Check the values in writing with the vendor, since the exact fields and their names depend on the tool. Done means you hold a complete, reviewed list of values and a named owner for each one.
Register the external tool type in Moodle
As a Moodle administrator, add a new external tool configuration under the external tool settings and choose LTI 1.3. Enter the tool URL, the client ID, and the endpoints supplied by the vendor, then decide which services and data the tool may receive. Moodle generates its own platform details for the tool, including its public key set URL and the deployment ID for this registration. Copy those values back to the tool vendor so both sides hold matching keys and identifiers. Done means the tool type appears as active in Moodle and the vendor confirms it has received the Moodle values.
Exchange keys and deployment IDs
Keys and identifiers must match on both sides before any launch can succeed. Moodle publishes its public key set, and the tool publishes its own. Verify that the issuer and client ID in the tool's configuration match what Moodle shows, and that the deployment ID is recorded exactly as Moodle issued it. Ask the vendor to confirm which key rotation process they follow, and record who owns it. Done means both parties have written confirmation of the issuer, client ID, and deployment ID, and the tool's key set is reachable from Moodle over the network.
Add the tool to a test course
Create or choose a non-production course, turn editing on, and add an external tool activity or a preconfigured tool entry that points to the registered tool. Set the launch container and the options for sharing user details and grades only as far as the course needs. Save the activity. Done means the activity appears in the course section with the tool name, and the course page shows no configuration errors.
Launch the tool as a test user
Sign in as a test student and a test teacher in separate browser sessions, then open the activity. The launch should move through the platform login initiation, return to Moodle, and open the tool's content. Check that the tool displays the expected course title and user name, and that the role shown matches the Moodle role. Repeat the launch as a teacher to confirm instructor-level access. Done means both launches succeed and the tool reports the correct role for each user. Any failure at this step usually points to a mismatched issuer, client ID, or key, so return to the previous step before changing anything else.
Confirm grade return and role data
If the tool uses the Assignment and Grade Services, complete a graded action inside the tool as the test student, then check the Moodle gradebook for the course and confirm the score appears against the correct activity and student. Confirm that Names and Role Provisioning data, where enabled, shows the expected roster in the tool. Record what was enabled and what the tool actually received, because not every tool uses every service. Done means a returned grade appears in the gradebook and the roster matches the test enrolments.
Publish a Moodle course as an LTI tool
For the reverse direction, an administrator enables the Publish as LTI tool enrolment plugin in Moodle. Then register the consuming platform by entering its issuer, client ID, deployment ID, and the endpoints it provides, and exchange keys as in the earlier steps. Moodle's documentation notes that the plugin supports LTI Advantage, which lets content be published to pre-registered platforms without changes on the platform each time new content is published, and that LTI 1.1 and 2.0 tools are deprecated. Next, add the course or activity to the published set and test it by launching from the consuming platform as a test user. Done means the consuming platform opens the published course or activity and the test user sees the content with the expected role.
Launching tools versus publishing Moodle content
When Moodle is the platform, teachers add an external LTI 1.3 tool as an activity inside a course. The tool is registered once at site level by an administrator, and then each course can place launches of it. Moodle sends the learner's identity and course context to the tool through a signed launch, and the tool can return content through Deep Linking or send grades back through the Assignment and Grade Services. Deep linking lets a teacher pick specific items from the tool, such as a question set or an exercise, and have Moodle store the selection as an activity. Grade return depends on the tool requesting grade scopes and on the grade item being configured to accept them, so confirm the tool's grade behaviour before promising gradebook sync.
- Registration scope: Decide whether the tool is registered for the whole site or for specific categories, and who holds the administrator rights to add it.
- Deep linking: Confirm the tool supports Deep Linking if teachers need to choose content from it.
- Grade return: Confirm which grade items the tool writes and whether the gradebook shows them correctly.
- Identity sent to the tool: Review which user fields Moodle releases in the launch, as this is personal data leaving your infrastructure.
- Vendor hosting: Many tools run outside your network, so the data path and retention terms belong in the review.
Before you start, confirm with the tool vendor that it supports LTI 1.3 with Advantage services and check the Moodle version it was tested against.
When Moodle is the tool, another platform such as a corporate learning system or partner LMS connects to Moodle and receives Moodle courses or activities through the core Publish as LTI tool enrolment. The enrolment plugin supports LTI Advantage, so the receiving platform is pre-registered with Moodle once, and content can then be published to it. Moodle's language strings for this plugin state that new content can be published to pre-registered platforms without changes on the receiving platform each time content is published. Legacy LTI 1.1 and 2.0 tools are deprecated, so a plan that relies on them should be re-scoped before build.
- Pre-registration: Agree with the receiving platform's administrator on the registration values before any course is published.
- Publishing control: Decide which courses or activities can be published and who approves each one.
- Learner data: Define what identity and grade data the receiving platform receives, and whether learners are created there or matched.
- Access boundary: Plan how published content is withdrawn when a course closes or a partner contract ends.
- Deprecated protocols: Confirm no partner depends on LTI 1.1 or 2.0 before committing to this direction.
Confirm with the receiving platform's vendor that it accepts LTI Advantage registrations from an external Moodle site and which Moodle versions it has been tested against.
The direction follows from who owns the course and who needs to see it. If your teachers need a third-party tool inside Moodle courses, you are launching tools. If another organization or platform needs to show Moodle courses, you are publishing. Some organizations need both, and then the two configurations must be designed separately because they use different registrations, keys and approval steps. Write down the owner of each tool or platform, the data it will receive, and the people who approve connections before choosing a configuration, because those answers determine the scope of the build.
- Use case first: List each integration and mark it as launch or publish.
- Two-way cases: Treat each direction as its own registration and review.
- Owner per connection: Name the administrator on each side who can change keys and endpoints.
- Data review: Record the identity and grade fields flowing in each direction.
- Standards check: Confirm the partner's LTI version with the vendor and do not assume LTI Advantage support.
The direction decision is yours to confirm with the business owner of each integration before any Moodle configuration begins.
How Moodle roles, users and grades map to the tool
This table compares the Moodle objects that an LTI Advantage launch can carry (user identifiers, roles, course context and grade items) with what the external tool typically needs for matching and reporting. Read each row as a question to answer with the tool vendor before configuration, since tools differ in which claims they accept and which they require. The main takeaway is that the minimum data set is usually smaller than the data Moodle can send.
| Moodle object | What the tool typically needs | Privacy and configuration note |
|---|---|---|
| User identifier (Moodle user ID and sub claim) | A stable subject identifier per platform so the tool can match returning users to its own accounts | Confirm whether the tool keys accounts on the sub claim alone or also needs an issuer pair. Avoid sending email unless the tool cannot match otherwise |
| Name and email claims | Display name for feedback and gradebook views; email only if the tool requires it for account creation or notifications | Ask the vendor whether email is optional. Send name fields only if the tool displays them to teachers |
| Teacher, student and manager roles | Role mapping to tool permissions such as instructor, learner or administrator | Map only the roles the tool uses. Confirm how the tool treats Moodle manager and non-editing teacher roles, which are not always the same as instructor |
| Course context (context claim) | Course identifier and title so the tool can scope content, rosters or workspaces to one course | Course titles can contain personal or sensitive wording. Confirm whether the tool stores titles and whether it needs the course ID alone |
| Resource link and activity identifier | A stable link ID so the tool can tell one placement from another within the same course | Confirm that the tool stores state per resource link and how it behaves when an activity is copied or restored |
| Grade items and line items (assignment and grade services) | Line items that map to tool activities, with scores posted back per user | Confirm the score scale, maximum points and whether the tool posts final or incremental scores. Check how grade passback behaves on re-submission |
| Group membership and cohorts | Only if the tool needs group-based sharing or rosters | Membership services are optional for many tools. Send them only when the tool uses them and confirm retention periods |
Securing LTI 1.3 launches and published content
LTI 1.3 connects Moodle to external tools and to other platforms that consume Moodle content, so every trust relationship is a potential entry point. The cards below cover the controls that decide who can launch, who can publish, and what data leaves the site. Each one has a check you can run in your own Moodle before you enable the integration for users.
Key and certificate handling for signed launches
LTI 1.3 launches are signed with keys, so the tool's public key set and the platform's signing keys decide whether a launch is trusted. Record which key set each tool uses, who can replace it, and how an expired or compromised key is rotated without breaking active courses. Confirm that private keys stay on the server and are never exported into course content or logs. Test a rotation in a staging site before you do it in production.
Publish as LTI tool stringsRestricting which platforms can publish
When Moodle publishes courses through the Publish as LTI tool enrolment, only platforms you have registered in advance should be able to receive content. Review the list of registered platforms, remove any that no longer have a business need, and confirm that each one is tied to a named owner. Check that the published course, not the whole site, is the only thing exposed. Ask the partner or internal team on each platform side to confirm the issuer and client identifiers match what you recorded.
Least-privilege roles for tool registration
Registering an LTI tool or publishing content to a platform changes what external systems can reach, so these actions should not sit with every course editor. Limit the capability to tool configuration to a small group of site administrators, and give course teachers only the ability to add activities that already exist. Review role assignments at the system and category levels, since a broad role there can grant registration rights across every course. Record who holds each capability so access reviews have a baseline to compare against.
Limiting data sent to tools
A tool launch can include user identifiers, names, email addresses, roles, and course details, depending on the privacy settings configured for each external tool. Decide what each tool needs to do its job, then turn off anything beyond that. Check whether the tool needs a stable user identifier or can work with a launch-specific one. Review what is sent in a test launch by inspecting the claims in the token, and document the result for the data protection review.
Reviewing third-party tool trust before site-wide use
Enabling a tool for all courses gives it access to every user who launches it, so treat that setting as a trust decision. Before enabling it site-wide, confirm who operates the tool, where its data is hosted, what its terms say about retention and reuse, and whether it has a security contact. Start with one or two pilot courses, then widen access after a review. Keep a written record of approval, scope, and the date each tool was last reviewed so you can remove it quickly if its operator changes or stops responding.
How to test launches, grade return and role mapping
Test the LTI integration on a staging Moodle that runs the same version as production, and do not treat a passing test on a different release as evidence. Build the test plan around three things: whether a launch arrives in the right course with the right role, whether grades written back from the tool land in the right gradebook item, and whether deep linking places the tool content where the teacher expects. Use a test tool you control, or a vendor sandbox, registered with the staging site as an external tool. Record the Moodle version, the PHP and database versions, and the tool's LTI Advantage configuration in the test log so the results can be tied to a specific build.
Launch the tool as each role the course will use, at minimum a student, a non-editing teacher, a teacher and a site administrator. For each launch, have the test tool display the claims it receives, then compare them with what you expect: the course identifier and title, the context roles, and the user's identity fields. Confirm that a student cannot reach teacher-only views in the tool and that a teacher's role maps to the intended permissions. If the tool requests grade passback, submit a score for a test student, check the gradebook item it updates, and confirm that re-launching does not create a duplicate column. Then run the deep linking flow from a course, select a content item, and verify that the returned link appears as a Moodle activity in the correct section.
Repeat the full test plan after every Moodle point release that touches the LTI subsystem, and before any change to the tool's registration, keys or deployment. Release notes list the changes for each version, so check them for LTI, enrolment or authentication items before scheduling the run. Keep the test scripts and expected results under version control so a retest takes the same steps each time. Ask your tool vendor which Moodle versions they have tested against and whether they publish a compatibility statement, because that answer decides how much of this plan you must run yourself.
Common LTI Advantage failures and how to fix them
This table lists the failures teams hit most often when launching external tools from Moodle or publishing Moodle content to another platform, with the usual cause and the fix for each. Read it while checking a failing launch: match the symptom to a row, confirm the cause on both platforms, and change one setting at a time before retesting.
| Symptom | Usual cause | Fix |
|---|---|---|
| Launch fails with an issuer or client ID error | The issuer URL or client ID registered in Moodle does not match the values the tool platform issued, often due to a trailing slash, http versus https, or a copied value from another tool. | Copy the issuer, client ID and endpoint URLs from the tool's registration screen again, compare them character by character, and re-register the tool in Moodle if the client ID changed. |
| Launch rejects the deployment ID | The tool platform issued one deployment ID per Moodle registration, and the launch uses a deployment that was never linked to this external tool configuration. | Confirm the deployment ID in the tool's deployment list, then update the Moodle tool configuration so it points to that exact deployment. |
| Launch blocked by HTTPS or certificate errors | Moodle or the tool endpoint is served over plain HTTP, has an expired or incomplete certificate chain, or a redirect that breaks the OIDC flow. | Serve both Moodle and the tool over HTTPS with a complete certificate chain, remove redirects from login and launch URLs, and test from a browser outside the internal network. |
| Launch succeeds but users lack the expected role | The role claim from Moodle does not map to a role the tool recognizes, or the user holds only a student enrolment in a course where the tool expects instructor access. | Check the roles the tool receives in the launch, confirm enrolment role in the course, and align the tool's role mapping with the standard LTI role URIs it supports. |
| Launch fails after a key rotation | The tool platform rotated its signing keys, or Moodle's platform keys changed, and the cached JSON Web Key Set no longer validates the signature. | Refresh the public key set URL on the tool side, confirm the key set URL is reachable from Moodle, and retest; schedule key rotation as a planned change with both administrators. |
| Expired tokens or clock errors during launch | The server clocks on Moodle or the tool platform are out of sync, so token timestamps look expired or not yet valid. | Confirm both servers synchronize time with a trusted source and check the time settings on any proxy or container host. |
| Tool still uses LTI 1.1 credentials | The external tool was set up with a consumer key and shared secret, which the LTI 1.3 flow does not use, or an older tool type remains in the course. | Recreate the tool as an LTI 1.3 configuration, replace the course activity with the new tool, and remove the legacy entry. Confirm the tool vendor supports LTI 1.3 before migrating. |
| Published course not visible on the consuming platform | The enrolment was published but not registered on the consuming platform, the platform was not pre-registered in Moodle, or the content was published after the platform last synchronized. | Confirm the platform is registered in the Publish as LTI tool enrolment settings, check the published activity list, and ask the consuming platform administrator to refresh or re-pick content. |
| Published content missing deep-link selections | The consuming platform uses deep linking to choose items, but the Moodle activity was not marked for deep linking or the consumer did not complete the selection step. | Confirm the activity is available for deep linking, repeat the selection on the consuming platform, and verify the item appears in its course before testing grades or roles. |
Questions buyers ask about Moodle LTI Advantage integration
Can our own team configure Moodle LTI Advantage without a partner?
Yes, many teams do the first tool connection themselves, as long as they have a Moodle administrator, someone who can register the tool on the vendor side, and a test course to verify launches. The work is mostly configuration: a platform registration with the tool's issuer, client ID, deployment ID and key set URL, then placement of the tool in courses. It becomes a project when several tools need grade return, when the tools must be published to other platforms, or when the team has no one to verify launches and grade passback end to end. Confirm with your Moodle administrators whether they have the time and access to test each tool in a non-production site before go-live.
What drives the effort of an LTI Advantage integration?
Effort depends on four things: the number of tools, the direction of the integration, whether grades must return to the Moodle gradebook, and how ready each vendor is. Launching a tool from a course is simpler than publishing Moodle content to another platform, because publishing requires agreed registration, role mapping and content rules on both sides. Grade passback adds mapping of line items, scores and user identifiers, and it must be tested with real course data. Vendor readiness matters most: some vendors have a certified LTI 1.3 flow with clear documentation, while others need custom configuration or a change request on their side. Ask each vendor for their LTI 1.3 documentation and whether they support Deep Linking and Assignment and Grade Services before you scope the work.
What does our team need to provide for the integration?
The work needs a named Moodle administrator, a technical owner for the tools on the vendor side, and someone from the academic or training team who can define roles, test courses and acceptance steps. You also need access to the Moodle site's administration settings, a staging environment that matches production closely enough to test launches, and the vendor's registration details. Vendors must provide their tool URLs, public keys or key set URLs, supported message types and any data-processing terms that apply. DeployOpen would plan these inputs in the written scope so that nothing is discovered late. Confirm with each vendor who will handle their side of the registration and how long they take to respond to change requests.
How long does an LTI Advantage integration take?
Duration follows scope, so the honest answer is that a single tool with launch only can be a short task, while a set of tools with grade return and publishing to partner platforms takes longer because each adds testing and vendor coordination. Timing is often set by vendor response rather than by Moodle work. Ask for a schedule that lists each tool, each direction, the acceptance tests for launch, deep linking and grade return, and the dependencies on vendors and your change approvals. A written scope should show these milestones before any work starts.
Do LTI 1.1 tools still work with Moodle?
Moodle still supports LTI 1.1 tools in its external tool activity, but the Publish as LTI tool enrolment plugin uses LTI Advantage, and its language strings state that legacy LTI 1.1 and 2.0 tools are deprecated. For new integrations, choose tools that support LTI 1.3 Advantage. For existing LTI 1.1 tools, plan a vendor upgrade or a replacement path and record a retirement date, because the vendor's roadmap decides when that tool stops working. Check your Moodle version's release notes before you rely on any legacy behavior, since support can change between releases.
How do Moodle upgrades affect LTI Advantage integrations?
Upgrades can change the external tool activity, the enrolment plugin, grade handling and the PHP and database versions that the tools depend on. Test each registered tool in a staging copy of the new Moodle version before you upgrade production, and confirm that launches, deep linking and grade return still work. Keep a written list of platform registrations, tool keys, deployment IDs and course placements so that you can restore them after a restore or rebuild. Moodle's requirements for the target release, including the PHP and database versions in the release notes, should be checked alongside the vendor's own compatibility statement for each tool.
What should we request in a written quote for LTI Advantage work?
Ask for a scope that lists each tool and each direction, with a separate line for launch, deep linking, grade return and publishing through the Publish as LTI tool enrolment plugin. The quote should name the environments you need (staging and production), the test cases for each tool, the vendor coordination steps, and who performs them. Cost components usually include discovery and design, configuration and build, vendor coordination, testing and documentation, and handover. Ask which items are one-time and which recur, such as retesting after each Moodle upgrade or vendor release. DeployOpen provides quotes after written scope, so ask for the deliverables and acceptance criteria to be written out before you compare offers.
How DeployOpen scopes and delivers LTI Advantage work
Every LTI Advantage engagement starts with a written scope that names each tool, the direction of each connection, the roles involved and the deliverables. For inbound work, where external tools launch from Moodle courses, the scope lists each tool, its vendor-issued client ID and deployment ID, the placements it needs and the course or category where it appears. For outbound work, where Moodle publishes courses through the Publish as LTI tool enrolment method, the scope lists each target platform, its registration details and which courses or activities it may reach. Both directions are agreed before any configuration starts, because the registration data, trusted keys and tool URLs decide what can be built and tested.
Delivery happens in the client's own Moodle, on the client's own infrastructure. DeployOpen configures the tool registrations, launch and deep linking settings, and the enrolment instances, then tests each launch with real user roles such as teacher, student and course administrator. Testing covers the failure cases that cause most support tickets: expired sessions, users without course access, tools launched from the wrong course, and grade passback when the tool supports it. Each configuration is documented with the settings used, the test results, the owner of each external registration and the steps to rotate keys. Before the engagement closes, the client's team should confirm which Moodle version and PHP and database versions the setup was tested on, using the requirements in the release notes for their target release.
Moodle releases arrive every six months, and LTI behavior can change with them, so the agreed scope should say who keeps the integration working after go-live. DeployOpen offers retainers for upgrades, ongoing support and repeat testing when a Moodle or tool version changes. Nothing in this page implies partner status, certification or any vendor endorsement. Ask for the written scope, the named deliverables and the retest terms in any quote, and confirm with your own Moodle administrators which platforms and tool vendors must be involved in each test.

