Skip to main content

Connecting Moodle with LTI 1.3

Written by Kat Morgan

Moodle is the easy one. Paste a setup link from Mindjoy into Moodle, approve the tool, and you're connected: Moodle and Mindjoy swap every key, URL and ID between themselves. Manual setup is still here if you need it.

You need Moodle administrator access and to be an organisation admin in Mindjoy.


​

Connect with a setup link (recommended)

1. In Mindjoy, click your organisation name at the bottom of the sidebar and choose Organization. Open the Integrations tab and click LTI. You need to be an organisation admin.

2. Click Create setup link and copy the link. It works for 15 minutes. If it runs out, click the refresh icon next to it (Make a new link) for a fresh one.

3. In Moodle, go to Site administration > Plugins > Activity modules > External tool > Manage tools.

4. Paste the setup link into the Tool URL box and click Add LTI Advantage.

Moodle's Manage tools page with the Mindjoy setup link pasted into the Tool URL box


​

5. Moodle registers Mindjoy in a window that closes by itself when it's done.

6. Mindjoy now appears in Moodle's list of tools marked Pending. Click Activate on the Mindjoy tool.

7. Back in Mindjoy, the page switches to the LMS connection card by itself and shows Connected with LTI 1.3. Moodle sends its Deployment ID along with everything else, so there's nothing to copy back.

Moodle already shares each person's name and email address with a tool added from a setup link, and turns on the gradebook and course membership services Mindjoy uses for grades and class lists, so that's the whole job.


​

Check Moodle's privacy settings

Mindjoy signs people in with their email address, so Moodle has to share it. A tool added from a setup link already has both settings on Always. If you set Moodle up manually, or launches stop on an Email address required page, edit the Mindjoy tool (the pencil icon on Manage tools) and check Privacy:

Moodle field

What to select

Share launcher's name with tool

Always

Share launcher's email with tool

Always

Moodle's Privacy settings for the Mindjoy tool, with name and email both set to Always


​

Don't use "Delegate to teacher" for name or email. With Delegate, Moodle sends no user details when a teacher opens Mindjoy's picker to choose content, because there's no activity yet, and Mindjoy stops on an Email address required page.


​

Set up manually instead

Manual setup needs the Deployment ID before Mindjoy will save it, so set the tool up in Moodle first and finish in Mindjoy.

Step 1: Copy Mindjoy's values

1. In Mindjoy, click your organisation name at the bottom of the sidebar and choose Organization. Open the Integrations tab and click LTI. You need to be an organisation admin.

2. Under the Create setup link button, click Set up manually. The Manual setup dialog opens.

3. The left column, 1. Mindjoy → your LMS, has four values, each with a copy button:

Mindjoy label

Value

Domain

api.mindjoy.com

Redirect URL and target link URI

https://api.mindjoy.com/lti/launch

OpenID Connect login URL

https://api.mindjoy.com/lti/login

Keyset URL

https://api.mindjoy.com/lti/jwks

Step 2: Configure the external tool in Moodle

1. Go to Site administration > Plugins > Activity modules > External tool > Manage tools

2. Click configure a tool manually (link at the bottom of the page)

Empty tool configuration form in Moodle


​

3. Fill in the tool settings:

Moodle field

What to enter

Tool name

Mindjoy

Tool URL

https://api.mindjoy.com/lti/launch

LTI version

Select LTI 1.3 from the dropdown

Basic tool settings filled in


​

4. After selecting LTI 1.3, more fields appear. Fill them in:

Moodle field

What to enter

Public keyset URL

https://api.mindjoy.com/lti/jwks

Initiate login URL

https://api.mindjoy.com/lti/login

Redirection URI(s)

https://api.mindjoy.com/lti/launch

LTI 1.3 specific fields filled in


​

5. Under Tool configuration usage:

Moodle field

What to select

Default launch container

New window (recommended) or Embed, without blocks

Supports Deep Linking (Content-Item Message)

Check this box

Deep linking checkbox enabled


​

6. Under Services, set IMS LTI Assignment and Grade Services to Use this service for grade sync and column management, and IMS LTI Names and Role Provisioning to Use this service to retrieve members' information as per privacy settings. Mindjoy uses them to send grades and to keep class lists in step with the course.

The Services section of the Mindjoy tool in Moodle, with Assignment and Grade Services and Names and Role Provisioning both switched on


​

7. Set Privacy as described in Check Moodle's privacy settings above, then click Save changes

Tool saved successfully


​

8. Click the magnifying glass on the Mindjoy tool (View configuration details) and note two values:

Client ID: Moodle generates this. It's shown on the tool configuration page (e.g. EKBLvXDP1zvIRFg).

Deployment ID: this is the tool's ID. Look for id= in the address bar while editing the tool (e.g. ...action=update&id=2 means the Deployment ID is 2).

Tool configuration showing Client ID and all settings


​

Step 3: Connect Moodle in Mindjoy

1. Go back to the Manual setup dialog in Mindjoy

2. Fill in the right column, 2. Your LMS → Mindjoy. Replace https://moodle.yourschool.edu with your Moodle site URL (everything before /mod/... or /admin/... in the address bar).

Mindjoy field

What to enter

Issuer

https://moodle.yourschool.edu

Client ID

From Step 2, e.g. EKBLvXDP1zvIRFg

Deployment ID

The tool ID from Step 2, e.g. 2 (required)

Keyset URL

https://moodle.yourschool.edu/mod/lti/certs.php

OpenID Connect authentication endpoint

https://moodle.yourschool.edu/mod/lti/auth.php

OAuth2 access token URL

https://moodle.yourschool.edu/mod/lti/token.php. Needed to send grades and sync class lists.

3. Click Connect. The card shows Connected with LTI 1.3.


​

Add Mindjoy to a course

Once Mindjoy is connected, teachers can add tutors, lessons and pathways to their courses.

1. Open a course in Moodle and turn editing on

2. In the section where you want Mindjoy, click Add an activity or resource and choose External tool

Adding an External tool activity in Moodle


​

3. In the Preconfigured tool dropdown, select Mindjoy

Mindjoy selected as the preconfigured tool


​

4. Click Select content. Mindjoy's picker opens.

5. Choose a tutor, lesson or pathway. Lessons and pathways get a start date and a due date, which you can change before you add them. Click Add to course.

6. The activity name fills in by itself. Click Save and return to course or Save and display.

Students see the activity in their course and open it straight into Mindjoy.

To put a lesson or pathway in the Moodle gradebook, switch on Send grades to the LMS gradebook at the picker's last step. Moodle adds a grade item for the activity, and Mindjoy sends each student's score once they can see it in Mindjoy. Open the activity from Moodle once yourself after you add it, so Mindjoy knows where to send the scores. See Sending grades to your LMS gradebook.

The first time you open Mindjoy from a course, you can also switch on Sync students from the LMS, so the classroom's class list follows the Moodle course. Moodle only shares a course's roster once the course has a Mindjoy activity in it, so for a new course, add a Mindjoy activity without selecting any content and click Save and display: the switch shows on the Link your LMS course screen that opens. See Syncing your class list from your LMS course.


​

Troubleshooting

"Select content" is greyed out or missing

On a manually configured tool, Supports Deep Linking (Content-Item Message) isn't ticked. Edit the Mindjoy tool in Manage tools and tick it.

"Email address required" when launching

Moodle didn't share the person's email address. Set Share launcher's email with tool to Always on the tool. If the picker works but activities don't, also check Privacy on the activity itself and make sure name and email sharing are ticked there.

"Mindjoy isn't connected" or "Deployment not found" when launching

The Moodle tool and Mindjoy's connection don't match, usually because the tool was deleted and recreated in Moodle. Check the Issuer, Client ID and Deployment ID with Edit details on the LMS connection card, or disconnect and connect again with a new setup link.

"Your LMS isn't sharing the course roster with Mindjoy"

A synced classroom's Students tab says Classroom sync failed, and hovering over the status dot shows this message, when the Mindjoy tool's IMS LTI Names and Role Provisioning service is off. Edit the tool in Manage tools and set it as in step 6 of the manual setup.

Non-editing teachers in a synced course show under Not launched yet until they first open Mindjoy from the course.

"Send grades to the LMS gradebook" doesn't show in the picker

On a manually configured tool, IMS LTI Assignment and Grade Services is probably off. Edit the tool in Manage tools and set it as in step 6 of the manual setup. Also check that Send grades to your LMS is on, on the LMS connection card in Mindjoy. The switch only shows for lessons and pathways, never tutors.

The setup link stopped working

Links last 15 minutes. Make a new one with the refresh icon. If Moodle now lists a Mindjoy tool that won't work, delete it in Moodle before you try again.

Redirect loop (ERR_TOO_MANY_REDIRECTS)

Moodle is behind a reverse proxy or load balancer that terminates SSL, and Moodle doesn't know. Add this line to your Moodle config.php:

$CFG->sslproxy = true;

Testing as a student signs you out

Opening Mindjoy from Moodle signs out anyone else who is signed in to Mindjoy in the same browser. Test student launches in a private window or a different browser.

Every other message is explained in Connecting your LMS with a setup link.


​

Quick reference: all URLs

Mindjoy values (enter these in Moodle)

Purpose

URL

Tool URL / Redirection URI

https://api.mindjoy.com/lti/launch

Initiate login URL

https://api.mindjoy.com/lti/login

Public keyset URL

https://api.mindjoy.com/lti/jwks

Moodle values (enter these in Mindjoy)

Replace https://moodle.yourschool.edu with your Moodle URL.

Purpose

URL

Issuer

https://moodle.yourschool.edu

Keyset URL

https://moodle.yourschool.edu/mod/lti/certs.php

OpenID Connect authentication endpoint

https://moodle.yourschool.edu/mod/lti/auth.php

OAuth2 access token URL

https://moodle.yourschool.edu/mod/lti/token.php

Did this answer your question?