LTI Moodle Admin guide

Set up LTI integration with Moodle as platform and Electude as tool

For general information about LTI, see our LTI 1.3 / Advantage Tool documentation. This document only applies to integration with the Moodle LMS.

1. Quick installation

This guide will explain how set up LTI integration with Moodle, with these features:

  • It will automatically enrol Moodle students and teachers in Electude groups with their name and email address.
  • The groups are automatically created in Electude. The name of each group will match the Course short code in Moodle.
  • In Moodle teachers will be able to add links to Electude content by Adding an activity or resource to a course and choosing the External tool option.
  • Grades will automatically be added to the course in Moodle if a student completes a module in Electude.

1.1. Log in to Electude and go to External access settings

  • Log in to your Electude administrator account.

  • Navigate to External access on the Settings tab.

  • In the Edit settings form, check Allow sites in frame.

  • Set Direct access to LTI 1.3.

  • In the Use defaults for drop down, select Moodle. The screen should now look like this:

  • Note: If you are using an older version of Moodle, uncheck the 'Use a JWL set URL' tickbox.

External access settings for Moodle in Electude

  • Keep this page open as you continue, because you need to copy settings to and from Moodle.

1.2. Log in to Moodle and go to Manage tools

  • Log in to your Moodle admin account in a new browser tab.
  • Via Site administration go to Manage tools.

Manage Tools in Moodle

  • Click configure a tool manually

1.3. Copy the Electude configuration to Moodle

In the External tool configuration dialog, in the Tool settings section:

  • Tool name: Set to Electude LTI
  • Tool URL: Copy the Launch URL (target_link_uri) from Electude
  • LTI version: Set to LTI 1.3
  • Public key type: Set to Keyset URL
  • Public keyset: Paste the JWK set URL (jwks_uri) from Electude. Note: If you are using an older Moodle version, paste instead the Public key (PEM) from Electude to the Public key in Moodle.
  • Initiate login URL: Paste the OIDC authorization URL from Electude
  • Redirection URI(s): Paste the Launch URL (target_link_uri) from Electude
  • Default launch container: Change to 'New window'

Click 'Show more'

  • Check the Content-Item Message checkbox
  • Content Selection URL: Paste the Deep Linking v2.0 URL (target_link_uri) from Electude

External tool configuration in Moodle

1.4. Set configuration options in Moodle

In the Services section:

  • Set IMS LTI Assignment and Grade Services to Use this service for grade sync and column management.

In the Privacy section:

  • Set Share launcher's name with tool to Always
  • Set Share launcher's email with tool to Always
  • Set Accept grades from the tool to Never

Services and Privacy section in Moodle

  • Click on Save changes. On the Manage tools page you now see this card:

New tool card in Moodle

1.5. Copy the Moodle configuration to Electude

  • Click on the View configuration details list icon.
    List icon on new tool card in Moodle

Tool configuration details in Moodle

  • Copy the Platform ID from Moodle and paste to the Issuer URL (iss) field in Electude
  • Copy the Client ID from Moodle and paste to the Client (client_id) field in Electude.
  • Copy the Deployment ID from Moodle and paste to the Deployment(s) (deployment_id) field in Electude.
  • Change the domain in the OIDC authorization URL, JWK set URL (jwks_uri) and OAuth2 access token URL (for LTI AGS v2.0) fields to match your Moodle site.
  • The screen should now look like this:

External access settings completed in Electude

  • Save the settings by clicking on ok.

1.6. Configure Result Notifications

  • In Electude go to the Result notifications settings.

Result notifications settings in Electude

  • The setting 'Do not create line item automatically, only send grades for existing line items' allows you to determine for which modules student results are or are not passed on to your LMS. If you enable the setting, only grades of modules that have been added by teachers through the ’Select as LTI tool with line item’ will be sent to Moodle. If you disable the setting, all grades of modules with types that have been selected in the 'Module filter' will be sent to Moodle.

  • Check all types of modules for which the Electude LMS should pass grades to Moodle. Typically you should select all types, but you can e.g. limit this to tests only. If no grades should be passed at all, you can leave all checkboxes unchecked.

  • Save the settings by clicking ok.

This concludes the Electude integration with Moodle.

Note: The following sections should only be used if you have to deviate from the default.

2. Enhanced privacy

If you do not want to populate Electude accounts with name and email addresses, you can switch this off.

Important: note that the administrator and teachers in the Electude LMS will not be able to see which person is associated with a user account.

In step 1.4. Set configuration options in Moodle:

  • Set Share launcher's name with tool to Never instead of Always.
  • Set Share launcher's email with tool to Never instead of Always.

Privacy section of external tool configuration in Moodle

As an administrator in Electude in the Privacy settings, set Change account details to Users cannot change their account details.

Privacy settings in Electude

3. Custom data

In step 1.3. Copy the Electude configuration to Moodle you can specify custom data to be sent in LTI requests. For more information about the supported custom data see Additional custom data of the LTI 1.3 / Advantage Tool document.

For example, if you have created a group Moodle in the Electude LMS and you want all new groups to be created as a sub group, you can specify parentgroup=Moodle in the Custom data field.

Custom data in external tool configuration in Moodle