Skip to content

How do I integrate an OpenOlat course into Moodle?

Objectives and content of this instruction

You have created a course in OpenOlat and would like to offer it outside your OpenOlat on a Moodle platform?
The following instructions show you the procedure step by step.

Target group

[x] Authors [ ] Coaches [ ] Participants

[ ] Beginners [x] Advanced users [x] Experts

Expected previous knowledge

To display an OpenOlat course on another platform, in the following instructions this is Moodle, a connection is established according to the LTI 1.3 standard (Learning Tools Interoperability).

So that the users of the Moodle platform can access the OpenOlat course from their system, the two platforms must communicate with each other, and on the OpenOlat side the course (and only this course) must be released for this external access.

Requirements

Administrator access must be ensured in both systems for the configuration. In OpenOlat, the System administrator role opens the system administration, where the external platform is entered. Who may release a course via LTI is defined by the system administration in the "Configuration" tab under Administration > External tools > LTI. Preferably, the configuration is done on both systems at the same time, since certain dialogs have to be configured in both systems in direct succession.

To the top of the page ^


Configuration procedure

  1. Setup "External Tool" in Moodle
  2. Setup "External platform" in OpenOlat
  3. LTI release of the course in OpenOlat
  4. Embedding the external tool (=OpenOlat) in the Moodle course
  5. Connection test

1. Setup "External Tool" in Moodle

The administration of the external tools in Moodle is located under the following path:
Site administration > Plugins > External Tool > Manage Tools

Marked entry External tool with Manage tools in the Plugins tab

For the configuration with OpenOlat, the option "configure a tool manually" must be selected.

Marked link configure a tool manually to set up an external tool manually

The following parameters must be defined in the dialog as minimum requirements:

Field Comment
Tool name Freely definable
Tool URL Direct link to the OpenOlat course.
The URL has the following format: https://<OpenOlat-URL>/auth/RepositoryEntry/<Course-ID>
(Make sure that no / is added at the end of the URL.)
LTI Version LTI 1.3
Client ID Only becomes visible after saving in this form
Public key type RSA key
Public key Is generated in OpenOlat, can only be entered afterwards
Initiate Login URL Initiate login URL, format: https://<OpenOlat-URL>/lti/login_initiation
Redirection URL(s) Redirection URL, format: https://<OpenOlat-URL>/lti/login
Tool Configuration Usage Show in activity chooser and as a preconfigured tool
Default Launch Container New window (OpenOlat only supports running the courses in a new window.)

Completed form with Tool URL, LTI version, public key, initiate login URL and redirection URL

After saving, you can call up further details in the overview via the details link in the LTI tool. The details are needed for the setup of the external platform in OpenOlat:

Platform ID, Client ID, Deployment ID and the three URLs for keyset, access token and authentication

To the top of the page ^


2. Setup "External platform" in OpenOlat

The administration of LTI 1.3 is located in the system administration of OpenOlat under the following path:
Administration > External tools > LTI

Switched-on module LTI 1.3 with platform ID and organisation, below it the roles allowed to add a deployment

In the "External platforms" tab, enter the Moodle instance with the "Add external platform" button:

Field Comment
Name Freely definable
Platform ID / Issuer URL of the Moodle instance
Client ID Client ID from the "Tool configuration details" dialog in Moodle
Public Key Type Public Key -> this key is then added to the tool configuration on Moodle
Authorization From Moodle: Authentication request URL
Token URI From Moodle: Access token URL
JWK-Set URI From Moodle: Public Keyset URL

After completing the form, enter the public key on Moodle in the tool configuration.

Completed form with name, platform ID, client ID, public key and the three URLs from Moodle

To the top of the page ^


3. LTI release of the course in OpenOlat

An OpenOlat course (or an OpenOlat group) is released in the settings under the following path:
Course > Administration > Settings > Tab "Share" > Section "LTI 1.3 access configuration"

LTI 1.3 access configuration section with the Add deployment button and the configured deployment

Add a deployment for the course (or the group) with the "Add deployment" button:

Field Comment
Platform Selection of the configured Moodle instance
Deployment ID From Moodle: Deployment ID from the "Tool configuration details" dialog. The same deployment ID may be used in several courses of the same platform, but only once in the same course.
Tool URL Provided by OpenOlat, read-only. The Tool URL of the external tool in Moodle from step 1 must begin with this address.
Initiate login URL, Redirection URL Provided by OpenOlat, read-only. The same addresses are entered in Moodle in step 1 under Initiate Login URL and Redirection URL(s).
Public Key The public key of the selected platform, read-only. It is the same key as in the dialog of the external platform from step 2. "Public Key Type" switches the display between "Public Key" and "URL".

Marked fields Deployment ID and Tool URL, the Tool URL pre-filled with the address of the course

If several OpenOlat courses are to be reachable via the same deployment ID, share each course individually. More about this in the user manual under:
One deployment ID for several courses >

You can find more about the LTI 1.3 access configuration section in the user manual under:
Course settings - Tab Share >

To the top of the page ^


4. Embedding the external tool (=OpenOlat) in the Moodle course

The external tool (OpenOlat) can now be inserted in the Moodle course.

Search for External tool with one result, for adding an activity

The configured OpenOlat course can be selected here in the external tool on Moodle as a "preconfigured tool".

Selected preconfigured tool in the Preconfigured tool field

To the top of the page ^


5. Connection test

Whether the configuration has worked can be checked with a simple test call.

The embedded external tool as a link in the General course section

The link in Moodle should open the desired OpenOlat course in a new window.

Attention

If you are already logged in to OpenOlat in another tab, you will be logged out there.

In the OpenOlat course, you can verify the test call in the members management: the LTI call has created a new account and added it to the group "LTI: name of the platform".

Newly created account with the role group coach in the group LTI: fxTest Moodle

To the top of the page ^


Further information

Mentioned on this page
LTI 1.3 Integrations >
LTI - External Platforms >
Configure LTI access to a course >
Course settings - Tab Share >

Further reading
Configure LTI access to a group >
Course Element "LTI Page" >
LTI - External tools >
LTI - Deep Linking >
LTI - Role mapping >

To the top of the page ^