Hi all,
I am running two Moodle 3.2 sites locally.
One is setup as an LTI provider, and the other as an LTI consumer.
Steps to replicate:
- In LTI Provider:
- Enable LTI authentication plugin
- Enable Publish as LTI tool
- Allow frame embedding = On
- Web services: On (this isn't in the docs, but seemed to fix an error where the web service couldn't be found)
- Create a course
- Add a SCORM activity to the course
- Set the SCORM activity so that students do not see the course structure screen, and display = embedded
- Add Publish as an LTI tool enrolment method
- Set enrolment method settings: tool to be published, secret key, user synchronization = No
- In LTI Consumer:
- Create a course
- Add External tool activity
- Configure activity with the URL of the SCORM package in the Provider, secret key, consumer key and display = embedded
- Enrol test.user in course
- Login as test.user
- Access the External tool within the course
Expected behaviour:
- The SCORM package should display in an iframe with no headers or footers from the Provider site
- The Provider should list test.user as an enrolled user in the provided course
Actual behaviour:
- If not already logged into Provider site, the login page displays in the iframe on the Consumer site
- No new users are registered or enrolled on the Provider site
Is this a bug, or have I missed something during the configuration process?
Thanks,
Mark