I have been tasked with setting up a WeBWork Server (2.16) and creating the LTI setup to use with Brightspace.
I have been wrestling with the same warning/issue with Brightspace D2L. Can anyone please help?
The following path was reconstructed by WeBWorK. It should match the path in the LMS: at /opt/webwork/webwork2/lib/WeBWorK/Authen/LTIAdvanced.pm line 453.
https://webwork.pennhighlands.edu/webwork2/myTestCourse/ at /opt/webwork/webwork2/lib/WeBWorK/Authen/LTIAdvanced.pm line 454.
OAuth verification failed. Check the Consumer Secret and that the URL in the LMS exactly matches the WeBWorK URL as defined in site.conf. E.G. Check that if you have https in the LMS url then you have https in $server_root_url in site.conf at /opt/webwork/webwork2/lib/WeBWorK/Authen/LTIAdvanced.pm line 493.
I'm using the following in my authen_LTI.conf
#$external_auth = 1; (commented out as shown, I've tried both ways with the same result)
$preferred_source_of_username = "lis_person_contact_email_primary";
$strip_address_from_email = 1;
$preferred_source_of_student_id = "ext_d2l_orgdefinedid";
I've verified Secret multiple times
I have verified roles
roles => urn:lti:instrole:ims/lis/Student,Student,urn:lti:instrole:ims/lis/Learner,Learner
I have verified timing is good (0)
===== timestamp info =======
oauth_nonce = 1639595585
WW_server_time = 1639595585
diff(server-oauth) = 0 seconds (0 minutes)
============================ at /opt/webwork/webwork2/lib/WeBWorK/Authen/LTIAdvanced.pm line 151.
and It matches the base URL of $LTIBasicToThisSiteURL, which also has the addition of the /webwork2 which matches the $webwork_url
Here is the info from the log file for the course:
[Wed Dec 15 14:13:05 2021] LOGIN FAILED OAuth verification failed. Check the Consumer Secret and that the URL in the LMS exactly matches the WeBWorK URL.a111a1 - authentication failed: 0 user_id=a111a1 login_type=normal credential_source=LTIAdvanced host=10.76.10.10 port=62621 UA=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36 Edg/96.0.1054.53