Installation

Canvas LTI

Canvas LTI

by Steven Marshall -
Number of replies: 0

Hi Everyone,

We have been working on setting up the Canvas LTI but are running into some issues. Canvas seems to pass information back to webwork when someone logs in but webwork don't do anything with it. I have checked the authen_LTI.conf over and over again, but can't find anything missing. I have had our Canvas admin double-check our password and the URL that is set in Canvas to ensure they match. I have ensured that the site.conf file has the correct "https" URL.

The error we receive is:

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 379.https://testdrive.cas.ou.edu/webwork2/casit_test5/ at /opt/webwork/webwork2/lib/WeBWorK/Authen/LTIAdvanced.pm line 380.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 417.


The site.conf URL info:

$webwork_url       = '/webwork2';
$server_root_url   = 'https://testdrive.cas.ou.edu'; 

So the URL that we have in Canvas is:

https://testdrive.cas.ou.edu/webwork2 

Anyone have a thought?