Question about LTI and URL homework submission

kteng
Community Novice

Hello,

I am writing a LTI provider that intends to perform homework submissions with URLs on behalf of the students.  As a simple test, when logged in as a test student, when I view the assignment in Canvas, which issues the POST request to the LTI launch URL, my LTI provider, using the launch_presentation_return_url value with return_type set to url and url set to an encoded string, will redirect to the submission URL (i.e.,

https://canvas.sfu.ca/courses/38920/external_content/success/external_tool_redirect?return_type=url&url=https%3A%2F%2Fwww.abc.com

).  When I log in as an instructor to verify the homework submission, I find it actually did not go through.  Below are the contents of the LTI POST request.  Any help on how to investigate and proceed would be appreciated Smiley Happy

Thanks,

Kenny

context_idc79c363831cb9371c36891439326c65ff43ad95a
context_labelDM Test
context_titleDM Test
custom_canvas_api_domaincanvas.sfu.ca
custom_canvas_assignment_id313382
custom_canvas_assignment_points_possible15
custom_canvas_assignment_titleAssignment 1
custom_canvas_course_id38920
custom_canvas_enrollment_stateactive
custom_canvas_user_id218980
custom_canvas_user_login_idlw4661
custom_canvas_workflow_stateavailable
ext_ims_lis_basic_outcome_urlhttps://canvas.sfu.ca/api/lti/v1/tools/8212/ext_grade_passback
ext_lti_assignment_idd195f37a-f8b3-4052-bebf-470f9af3485f
ext_outcome_data_values_acceptedurl,text
ext_outcome_result_total_score_acceptedtrue
ext_outcome_submission_submitted_at_acceptedtrue
ext_outcomes_tool_placement_urlhttps://canvas.sfu.ca/api/lti/v1/turnitin/outcomes_placement/8212
ext_rolesurn:lti:instrole:ims/lis/Student,urn:lti:role:ims/lis/Learner,urn:lti:sysrole:ims/lis/User
launch_presentation_document_targetiframe
launch_presentation_localeen
launch_presentation_return_urlhttps://canvas.sfu.ca/courses/38920/external_content/success/external_tool_redirect
lis_course_offering_sourcedidncc-kteng-42018513
lis_outcome_service_urlhttps://canvas.sfu.ca/api/lti/v1/tools/8212/grade_passback
lis_person_contact_email_primarylw4661@sfu.ca
lis_person_name_familyStudent1
lis_person_name_fullDMTest Student1
lis_person_name_givenDMTest
lis_person_sourcedid000035498
lis_result_sourcedid8212-38920-313382-218980-edab3416f7026aed1f3b83b86e705d6d97de8d94
lti_message_typebasic-lti-launch-request
lti_versionLTI-1p0
oauth_callbackabout:blank
oauth_consumer_keysome_consumer_key_10
oauth_nonce4G4qYMjm7b7nSiu7D150H4npnBemVvChhBolV3A4Hbk
oauth_signaturevXFVbQZUeUeEUrOIJ0anfpg8Gg0=
oauth_signature_methodHMAC-SHA1
oauth_timestamp1535047840
oauth_version1.0
resource_link_id249a8e7faa044f212a586f08e48bdbdc87d706c2
resource_link_titleAssignment 1
rolesLearner
tool_consumer_info_product_family_codecanvas
tool_consumer_info_versioncloud
tool_consumer_instance_contact_emailcanvasys@sfu.ca
tool_consumer_instance_guidb892c4920f8eb0205b7df7e4b0e36bdc5661ace4.canvas.sfu.ca
tool_consumer_instance_nameSimon Fraser University
user_id981d33f37c651be3dbe43f60ba505767896ff525
user_imagehttps://canvas.sfu.ca/images/messages/avatar-50.png
0 Likes