I have two moodles setup (moodle32 and moodle33); moodle32 is the LTI provider and moodle33 is the consumer.
On the provider, the cartridge URL is: http://moodle32.lms.xxxxxx/enrol/lti/cartridge.php/3/713f367107aa5d5f72d3fa2aeaf6e5e7/cartridge.xml
On the consumer, that has been added to a course as an "Add external tool" activity
I've added the cartridge URL and secret, and the tool URL is now showing as http://moodle32.lms.xxxxxx/enrol/lti/tool.php?id=3
However, when I click on "save and display", I get the correct IFRAME and activity title, but the IFRAME content is "A required parameter (oauth_consumer_key) was missing"
Where and how is the consumer key defined on the provider moodle?
I enabled full debug information on the provider moodle, and I get this information:
A required parameter (oauth_consumer_key) was missing
Error code: missingparam
- line 496 of /lib/setuplib.php: moodle_exception thrown
- line 567 of /lib/moodlelib.php: call to print_error()
- line 56 of /enrol/lti/tool.php: call to required_param()
No, I haven't; that is the problem. I can't see where that is defined on the provider site. I can see the 'secret key' but not the 'consumer key'
Ah. Excellent. I just realised!
The consumer side can set the key to be anything.
What did you realise Nick?
We have the same issue and have not found the solution yet.
Thanks in advance!
Dat is grappig Irma... Ik loop nu ook tegen dit issue aan? Heb jij op een andere manier al een antwoord gevonden?