Quantcast
Channel: LTI and Moodle
Viewing all articles
Browse latest Browse all 2848

Configure Client-ID and consumerkey256

$
0
0
by Tim V..  

Hi every1,

we're trying to use Moodle as LTI provider. In our demo course we added the enrolment method and published the course as LTI module. So far, so good. In the other LMS, we're using the client secret and the url's we got from Moodle, but there's already one problem... The "Client ID" is a required field for the LTI configuration in the other LMS. So the question is, how can I configure the "Client ID" in Moodle? In the docs, it says that the "Client ID" can be anything or simply empty. But when we set it to anything, we're getting an error because of an invalid signature. So the first question is, how can we configure the client id used in Moodle?

When we leave the "Client ID" blank in the other system, we cannot save/add the configuration, but we can test it and it seems that the signature correct now. Unfortunately, now we're getting another error when writing to database because "consumerkey256" (and also consumerkey) is null:


So the question is, what's going wrong here? Do I need to configure the "consumerkey256" / "consumerkey" anywhere in Moodle? We're using Moodle 3.9 and LTI-1p0 (because in LTI-1p1 we're getting an error that the version number is missing or invalid).


Viewing all articles
Browse latest Browse all 2848

Trending Articles