WeBWorK Main Forum

LTI 1.3 Moodle authentication

Re: LTI 1.3 Moodle authentication

by Sean Fitzpatrick -
Number of replies: 1
Is there any sort of incantation I can use to get the missing lines from the log file?
I've spent the entire day adjusting configuration settings, restarting webwork2, and trying to launch an LTI 1.3 tool, and the debug.log file always ends up the same as above.

Debugging is turned on in the LTI config and the mojolicious config. I'm checking both webwork2.log and debug.log, and I keep getting the same sort of thing.
In reply to Sean Fitzpatrick

Re: LTI 1.3 Moodle authentication

by Glenn Rice -

I thought of something that might give us some better information on what is going on.  Try changing line 107 of lib/WeBWorK/ContentGenerator/LTIAdvantage.pm (which is just an end brace) to

  } elsif ($c->stash->{LTIAuthenError}) {
      debug($c->stash->{LTIAuthenError});
  }

Make sure you have debug set to 1 in the webwork2.mojolicious.yml file, and then when you get the authentication failure see what shows up in the debug log.