Replies: 1 comment 3 replies
-
Yeah, because Canvas runs in SSL the LTI applications also need to be SSL (https). The easiest way to serve up from localhost is to use a service like ngrok that gives you the https proxy. Otherwise you'd have to either get a DNS name for your local machine, get an SSL cert and configure a proxy server or Gunicorn to serve in https. At Michigan when we need to test LTI, we just do local development with ngrok generally just using the free version though we have a few licenses. Though not everything needs to be tested and launched via LTI. In production we are running this behind an HAProxy router that does the SSL termination. Other similar services to ngrok exist like PageKite. They also work the same. With some effort you could create your own localhost tunneling service. but that's not something I've ever spent time on with the low cost of what's available. |
Beta Was this translation helpful? Give feedback.
-
I think I am missing a step somewhere. I have followed the Readme file to set up the server. I am trying to create the developer key on the Canvas side. When I try the configuration URL, it is not connecting. I think I am missing a step on forwarding HTTPS traffic to the MyLA web server in the docker container. How do set that up? Is this the ngrok install part?
Beta Was this translation helpful? Give feedback.
All reactions