Installation

Moodle LTI

Moodle LTI

by Andy Kim -
Number of replies: 1

To install LTI authentication, I was doing with https://webwork.maa.org/wiki/LTI-Advanced_Authentication. 

Then, I have an error: "uses an external authentication system (e.g., Oncourse, CAS, Blackboard, Moodle, Canvas, etc.). Please return to system you used and try again." when I click a course in webwork site. 

------------------------------------------------------------------------------------------------

In authen_LTI.conf

$authen{user_module} = [

        {  "*" => "WeBWorK::Authen::LTIAdvanced", }, #preferred authorization method

        {  "*" => "WeBWorK::Authen::Basic_TheLastOption",}  #fallback authorization method

];

$external_auth=1;

------------------------------------------------------------------------------------------------------

in my local moddle, When I go to my local Moodle and login as a admin user. when I click webwork, it said "uses an external authentication system (e.g., Oncourse, CAS, Blackboard, Moodle, Canvas, etc.). Please return to system you used and try again"



Therefore, I can not login Webwork from Moodle. Could you help me that, please?




In reply to Andy Kim

Re: Moodle LTI

by Danny Glin -
It looks like your WW server is reading authen_LTI.conf, since it is picking up the $external_auth setting. When you set that to 1, you will get the message that you quote if the LTI authentication fails.

Do you have any other authentication methods enabled?

Have you set up the link in Moodle as an LTI link?

If $debug_lti_parameters is set to 1, then when you click an LTI link in Moodle you should see a big warning message in WW that shows all of the parameters that were sent. If you don't see this, it means that LTI authentication isn't being invoked in WW.