## WeBWorK Problems

### LTI set-up: admin tech needs help finding "authen_LTI.conf.dist" file

by tim Payer -
Number of replies: 3
Greetings,

I am helping an admin-tech for our school establish an LTI between WeBWorK and Canvas. This is our third attempt (failing for the past two semesters). We are following the instructions laid out at the site:

He is trying to locate the file named authen_LTI.conf.dist in the webwork2/conf directory. But are at a loss as to where this file might be.
I the instructor have admin privileges for my course and have added the system tech, (Breck) to the course as an admin as well.

Sincerely, Tim

### Re: LTI set-up: admin tech needs help finding "authen_LTI.conf.dist" file

by Michael Gage -
It's in /opt/webwork/webwork2/conf  directory (or something similar).

Is your repo synced with version 2.12 on  github?

If you are using a version of webwork before 2.12 then this file might not be there.  It was added fairly recently (either 2.12 or 2.11).

-- Mike

### Re: LTI set-up: admin tech needs help finding "authen_LTI.conf.dist" file

by tim Payer -
Unfortunately we are still having problems establishing the LTI connection with Canvas.

The summarizing error statement is copied below:

### Re: LTI set-up: admin tech needs help finding "authen_LTI.conf.dist" file

by Danny Glin -
Having authen_LTI.conf around and also having the same information cut and pasted into course.conf is probably not wise. Any variables set in course.conf will override what is loaded earlier (in this case authen_LTI.conf and possibly localOverrides.conf), so you run the risk of changing something in authen_LTI.conf, and not having it take effect because it is later overwritten by course.conf.

My recommendation is that any settings that will be the same for all courses be put in localOverrides.conf and authen_LTI.conf, and only things that will be different for an individual course be put in course.conf.

This leads me to the first thing to check: if \$LTIBasicConsumerSecret is set in course.conf, then this is the value that will be used. Make sure that this string matches exactly what you set in Canvas. For debugging purposes. I would start with a secret that only involves numbers and letters. I don't think symbols should cause a problem, but this eliminates one possible complication.

A couple of other things:
Make sure that the consumer key is set in Canvas. It can be set to anything, but I know when I set up LTI, WeBWorK didn't like having a blank key.

Try the URL in Canvas with and without the slash at the end. I have mine set up with the slash at the end (i.e. https://webwork.yourschool.edu/webwork2/coursename/), but I can't remember how picky it is about this.