Hi, we are running a dev installation of Webwork against a dev installation of Moodle. We are in the process of moving from LTI 1.1, which we just used for Authentication, to LTI 1.3 which we will use for both auth and grade return.
Authentication is testing just fine for use, but we are having a grade return issue. The linking of the Moodle assignment to the WW course and assignment is working great. However, the grade is not being returned to Moodle and we have the accompanying errors in the webwork2.log file:
│[2024-07-22 09:07:25.52338] [329164] [info] Submitting grade for user XXXXXXX and set Grade_return_test. │
│[2024-07-22 09:07:25.52434] [329164] [info] Error encoding JWT: Can't call method "url_for" on unblessed reference at /opt/webwork/webwork2/lib/WeBWorK/Authen/LTIAdvantage/SubmitGrade.pm line 147.
I've double checked the configuration files several times. I started working my way through the code files to see where we might be getting hung up, but I have no PERL chops and got lost fairly quickly.
Does anyone have an idea where I might start trouble-shooting this issue. (I'll spare you the team wise-guy's comment that we might need a clergy member to bless our references.)