[ARCHIVED] Deep Linking Response always returns """jwt","type":"JWT verification failure","message":"JWT verification failure""

Jump to solution
jvolino_starsqa
Community Novice

We working on Integration with Canvas LTI 1.3, I have created a developer key and the tool setup is done. 
I am getting this error ""jwt","type":"JWT verification failure","message":"JWT verification failure" while sending Deeplinkresponse

Encoded jwt :

eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IjA2MTVhMGNjNjQ1N2VmYTdkNjEwM2NmODMwMzllMDNjZWViZjI5YmNhOWNlOGQxM2FjMTI0OTU3MWE5OWQ5NWYifQ.eyJodHRwczpcL1wvcHVybC5pbXNnbG9iYWwub3JnXC9zcGVjXC9sdGlcL2NsYWltXC9kZXBsb3ltZW50X2lkIjoiMTMyOmFhM2IwZWQ5NTMzZDUyMjhkMzA4NjE2OGRlNzI2OGNhMzZlYzA4MTgiLCJodHRwczpcL1wvcHVybC5pbXNnbG9iYWwub3JnXC9zcGVjXC9sdGlcL2NsYWltXC9tZXNzYWdlX3R5cGUiOiJMdGlEZWVwTGlua2luZ1Jlc3BvbnNlIiwiaHR0cHM6XC9cL3B1cmwuaW1zZ2xvYmFsLm9yZ1wvc3BlY1wvbHRpXC9jbGFpbVwvdmVyc2lvbiI6IjEuMy4wIiwiaHR0cHM6XC9cL3B1cmwuaW1zZ2xvYmFsLm9yZ1wvc3BlY1wvbHRpLWRsXC9jbGFpbVwvY29udGVudF9pdGVtcyI6W3sidHlwZSI6Imx0aVJlc291cmNlTGluayIsInRpdGxlIjoiVGVzdCBBc3Nlc3NtZW50IiwidXJsIjoiaHR0cHM6XC9cL2llc2NsdGkuc2Nob29sY2l0eS5jb21cL3NpZC1zY3MtYzMwYjg2NWEtMjhjZC00M2JjLTg0OTQtOTU4MTkzYzNiNzY1IiwiaWNvbiI6eyJ1cmwiOiJodHRwczpcL1wvc3RhdGljLnRzdWdpLm9yZ1wvZm9udGF3ZXNvbWUtZnJlZS01LjguMi13ZWJcL3BuZ1wvY2hlY2stc3F1YXJlLW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iZzVpXLq9v4owqJ6CGloM1UGJJCMm72V02mweTpddBB3_kqMOCYRSSRKIa3SyBEAuaArY0Jnm7qFZ6V9ISbefjZa6ItiXun7S3XTu39ficB7HbRH6V1ne0MEYXLFCcBbFEYglzx4w



{     "https:\/\/purl.imsglobal.org\/spec\/lti\/claim\/deployment_id": "132:aa3b0ed9533d5228d3086168de7268ca36ec0818",     "https:\/\/purl.imsglobal.org\/spec\/lti\/claim\/message_type": "LtiDeepLinkingResponse",     "https:\/\/purl.imsglobal.org\/spec\/lti\/claim\/version": "1.3.0",     "https:\/\/purl.imsglobal.org\/spec\/lti-dl\/claim\/content_items": [         {             "type": "ltiResourceLink",             "title": "Test Assessment",             "url": "https:\/\/iesclti.treatment.com\/sid-1234-c30b865a-28cd-43bc-8494-958193c3b765",             "icon": {                 "url": "https:\/\/static.tsugi.org\/fontawesome-free-5.8.2-web\/png\/check-square-o.png",                 "fa_icon": "fa-check-square-o",                 "width": 100,                 "height": 100             },             "thumbnail": {                 "url": "https:\/\/lti.example.com\/thumb.jpg",                 "width": 90,                 "height": 90             },             "lineItem": {                 "scoreMaximum": 10,                 "label": "Test Assessment",                 "resourceId": "1234-c30b865a-28cd-43bc-8494-958193c3b765",                 "tag": "originality",                 "guid": "https:\/\/iesclti.treatment.com\/tsugi\/lti\/activity\/1234-c30b865a-28cd-43bc-8494-958193c3b765"             },             "custom": {                 "canvas_caliper_url": "$Caliper.url"             }         }     ],     "iss": "105100000000000071",     "sub": "subject",     "iat": 1585884056,     "exp": 1585884116,     "jti": "1051000000000000715e86ab9841f92",     "nonce": "ad87d1908a091ca5aedce729fd5dbde9",     "aud": "https:\/\/canvas.instructure.com" }

 

Please guide on this, what steps I need to follow to solve this issue.

Labels (2)
0 Likes
1 Solution
chuck_wight
Partner
Partner

I had a similar problem, and it turned out that Canvas apparently cannot accept a JWKS URL from a tool. Instad you must paste a JWK into the form used to create the Developer Key.

See https://community.canvaslms.com/thread/49683-jwks-format 

View solution in original post

0 Likes