deep linking

Jump to solution
mohammad-fard
Community Member

Hi

I'm an external tool developer. We've implemented LTI 1.3 specs for our tool but have a problem with deep linking with Canvas.

We've created a course as an instructor and inside of the course created an assignment. For submission type, We've selected an external tool, and when we clicked the "find" button and select our tool another window shows our HTML. On our page, the students should select a button and after that, the tool returns a JavaScript with auto-submit functionality. The problem is when it post encoded deep linking return message as a JWT with proper parameters to "deep_link_return_url" we get an error in Canvas.

1.jpg

The return URL is "https://OURNAME.instructure.com/courses/12/deep_linking_response?modal=true" and we post JWT to this URL.

 

Our sample JWT has these parameters and it encoded with the tool private key.

2.jpg

 

What should we do to overcome this issue and send a proper message to Canvas?

 

 

Labels (3)
0 Likes
1 Solution
svickers2
Community Contributor

Another couple of things to check:

  1. Did the deep linking request include a data property in the https://purl.imsglobal.org/spec/lti-dl/claim/deep_linking_settings claim?  If so, this should be included in the response as a https://purl.imsglobal.org/spec/lti-dl/claim/data claim.
  2. Is the endpoint which has been configured in Canvas for accessing your public key working?  Try navigating to it directly and make sure a key is returned with the same kid value as being used for signing your message.

 

View solution in original post