Getting an error 500 on deep link post
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2020
10:11 AM
I am attempting a deep link creation on Canvas, however, whenever I post a LtiDeepLinkingResponse, Canvas returns back an error 500 (or rather, shows the 500 page in the window). As far as I can tell the payload is properly signed JWT, signed with the same key as in the LTI setup. The decoded JWT is as follows -
{
12 items
"https://purl.imsglobal.org/spec/lti/claim/message_type":
"LtiDeepLinkingResponse"
"https://purl.imsglobal.org/spec/lti/claim/deployment_id":
"427:0ef07e583441726e323cbe627dd04ec059de44b6"
"https://purl.imsglobal.org/spec/lti-dl/claim/content_items":[
1 item
0:{
3 items
"title":
"Chapter 1"
"type":
"ltiResourceLink"
"url":
"https://obscured-here/launch/c5095ee9-f8c4-4ad6-aa5a-40a1b7d555b2"
"iss":
"102720000000000391"
"aud":
"https://canvas.instructure.com"
"sub":
"98c8a219-7c95-44bf-a069-eef2e2113438"
"iat":
1582560438
"nbf":
1582560433
"exp":
1582561038
"nonce":
"557e1245-48ab-4c4b-a01a-fda99ac6ae97"
}
JWT headers are
{}
3 items
"alg":
"RS256"
"kid":
"6be7c27c-4fc7-4597-ba29-66f28f56753f"
"typ":
"JWT"
Anyone has any ideas? Any help would be greatly appreciated.
Thanks