Join us for The InstructureCon25 Encore Series—a book club that brings the voices from InstructureCon into your everyday learning. Our reading of Everyday Dharma begins September 2!
Found this content helpful? Log in or sign up to leave a like!
Background:
I'm developing a LTI 1.3 app. I'm doing testing in a local instance of Canvas thats running with docker (http://canvas.docker/).
Expected Behavior:
When sending deep linking response back to canvas it succeeds. The "working in submission type placement - low.mov" attachment shows the expected behavior but it's the app running inside of the "Submission Type Selection" placement and not the desired "Assignment Selection" placement.
Actual Behavior:
Sending deep linking response back to redirects to login page. See attached videos "quiz maker low.mov" and "orchard - low.mov". I tried with two different apps but get the same result.
Theory:
I suspect there are some settings I need to enable in the admin settings. See "assignment placement settings.png". These settings might be relevant? IDK
Data:
Here are some of values associated with the deep linking request & response.
Use https://jwt.io/ to decode the "data" and "JWT" fields.
Request
Response
Solved! Go to Solution.
Yes I did. My solution is to launch the tool from a canvas instance that is being served over https and not http.
My theory is that the problem was caused by the browser blocking Canvas's cookies because it's being served over http and the cookies weren't configured for http.
We have a canvas instance served at https://canvas-dev.asu.edu. When I launch it there I don't have any problems. I only get this problem in my local instance which is served at http://canvas.docker.
The attached video shows our tool working. The only thing different is that it's being launched from https://canvas-dev.asu.edu and not http://canvas.docker. http://canvas.docker was the url used in videos attached in the problem post.
For anyone got problem like me. It is because my config doesn't have `config/session_store.yml` file.
Just run
` cp config/session_store.example.yml config/session_store.yml `
then uncomment secure
Did you happen to make any progress on this? I'm running into the same problem. The only thing I've been able to try is adding data from the query params into the jwt payload message as https://purl.imsglobal.org/spec/lti-dl/claim/data' but that made no difference. I've also tried playing around with the aud/iss to see if there was some issue there, but changing those for me will return an actual error response. I've verified the jwks route I'm using is accessible and using tls so not sure where to go from here.
Yes I did. My solution is to launch the tool from a canvas instance that is being served over https and not http.
My theory is that the problem was caused by the browser blocking Canvas's cookies because it's being served over http and the cookies weren't configured for http.
We have a canvas instance served at https://canvas-dev.asu.edu. When I launch it there I don't have any problems. I only get this problem in my local instance which is served at http://canvas.docker.
The attached video shows our tool working. The only thing different is that it's being launched from https://canvas-dev.asu.edu and not http://canvas.docker. http://canvas.docker was the url used in videos attached in the problem post.
For anyone got problem like me. It is because my config doesn't have `config/session_store.yml` file.
Just run
` cp config/session_store.example.yml config/session_store.yml `
then uncomment secure
To interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in