-
Bug
-
Resolution: Cannot Reproduce
-
Minor
-
None
-
4.4
-
MOODLE_404_STABLE
Prerequisites
- You need two Moodle sites (localhost is fine) - one called 'platform' and one called 'tool'
- In the tool site admin settings:
- Enable enrol_lti and auth_lti plugins
- Enable "Allow frame embedding"
- In BOTH sites:
- Go to "Administration > Security > HTTP security" and clear all values from the 'curlsecurityblockedhosts' admin setting and save. (to permit localhost-to-localhost calls)
Steps to reproduce
- Login to the tool site as the admin user
- Go to Admin > Plugins > Enrolment plugins > Publish as LTI tool > Tool registration
- Click to create a new registration
- Name the registration "platform site" and continue
- You'll see a dynamic registration URL. Click the "Copy to clipboard" icon to copy it
- Now, in another browser tab, login as the admin user to the platform site
- Go to Admin > Plugins > Activities > External tool > Manage tools
- Paste the URL value into the "Tool URL" field
- Click "Add LTI Advantage"
Expected result
You should see a tool card now with a button to "Activate" it.
Current result
The following exception is thrown: Attempt to read property "client_id" on null:
Testing instructions have been copied from MDL-78219.