We're trying to set up LTI-Basic Authentication with moodle, and have configured the following in authen_LTI.conf:
$LTIBasicToThisSiteURL="http://servername.edu/webwork2/coursename";
and
$LTIBasicConsumerSecret = "mysecret";
I'm not sure how to configure the consumer key in authen_LTI.conf, and on the moodle end, I left it blank.
The last thing I believe I have to configure is the user parameter to be sent by the LMS. We have the same usernames on moodle and webwork, so I believe this should be the username. I'm not sure how to configure this part in authen_LTI. I tried the line:
$preferred_source_of_username = "username";
but get no automatic login to webwork - I just get to the webwork course login page, and must enter the userinfo manually.
Any help appreciated.
Lars.