LTI missing consumer key?

LTI missing consumer key?

by Nick Kings -
Number of replies: 6

Hello,

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?

Thanks

N


Average of ratings: -
In reply to Nick Kings

Re: LTI missing consumer key?

by Nick Kings -

I enabled full debug information on the provider moodle, and I get this information:

A required parameter (oauth_consumer_key) was missing

More information about this error

× Debug info:
Error code: missingparam
× Stack trace:
  • 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()

In reply to Nick Kings

Re: LTI missing consumer key?

by Michael Penney -

Hi do you have the Consumer Key filled out in the External Tool activity form on the Consumer site?

In reply to Michael Penney

Re: LTI missing consumer key?

by Nick Kings -

Hi

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'

Thanks

 

In reply to Michael Penney

Re: LTI missing consumer key?

by Nick Kings -

Ah. Excellent. I just realised!

The consumer side can set the key to be anything.

THANKS smile

In reply to Nick Kings

Re: LTI missing consumer key?

by Irma Boks - Eek -

What did you realise Nick?

We have the same issue and have not found the solution yet.

Thanks in advance!

In reply to Irma Boks - Eek

Re: LTI missing consumer key?

by Hugo Boel -

Dat is grappig Irma... Ik loop nu ook tegen dit issue aan? Heb jij op een andere manier al een antwoord gevonden?


Groet


Hugo