[2024-12-20 09:13:19.26163] [76062] [warn] [YH60x0G1Afxx] [/webwork2/ltiadvantage/login] The LTI Advantage login route was accessed with the appropriate parameters.
[2024-12-20 09:13:19.44514] [76062] [info] [u5YJu_k4NjbF] ====== JWT PARAMETERS RECEIVED ======
I can see my first name, last name, org_defined_id, username etc in the debug LTI log. Course info also exists -
"https://purl.imsglobal.org/spec/lti-ags/claim/endpoint" => {
"lineitems" => "https://daltest.brightspace.com/d2l/api/lti/ags/2.0/deployment/51584148-bfea-4fd7-bee6-7606ed8897c4/orgunit/294968/lineitems",
"scope" => [
"https://purl.imsglobal.org/spec/lti-ags/scope/lineitem",
"https://purl.imsglobal.org/spec/lti-ags/scope/lineitem.readonly",
"https://purl.imsglobal.org/spec/lti-ags/scope/result.readonly",
"https://purl.imsglobal.org/spec/lti-ags/scope/score"
]
},
"https://purl.imsglobal.org/spec/lti/claim/deployment_id" => "51584148-bfea-4fd7-bee6-7606ed8897c4",
"https://purl.imsglobal.org/spec/lti/claim/launch_presentation" => {
"locale" => "en-CA"
},
"https://purl.imsglobal.org/spec/lti/claim/message_type" => "LtiResourceLinkRequest",
"https://purl.imsglobal.org/spec/lti/claim/resource_link" => {
"id" => "253534_294968"
},
"https://purl.imsglobal.org/spec/lti/claim/roles" => [
"http://purl.imsglobal.org/vocab/lis/v2/membership#Learner",
"http://purl.imsglobal.org/vocab/lis/v2/institution/person#Student",
"http://purl.imsglobal.org/vocab/lis/v2/institution/person#Learner",
"http://purl.imsglobal.org/vocab/lti/system/person#TestUser"
],
"https://purl.imsglobal.org/spec/lti/claim/target_link_uri" => "https://webwork4.mathstat.dal.ca/webwork2/Math1030-Fall-2022/Test-Set",
"https://purl.imsglobal.org/spec/lti/claim/tool_platform" => {
"guid" => "88afb860-dec9-4203-9170-3daef7e7bc1b",
"product_family_code" => "desire2learn"
},
"https://purl.imsglobal.org/spec/lti/claim/version" => "1.3.0",
"iat" => 1734700399,
"iss" => "https://daltest.brightspace.com",
"name" => "Balagopal Pillai",
"nbf" => 1734700399,
"nonce" => "51d0304b05c19926f81a1e22252b7c5b1910ac25874ec5b644747f71050c538c",
"sub" => "d7638d4e-c5d3-48da-a916-eeaf4691ca9e_3997"
At the end of the log, the following summary appears -
[2024-12-20 10:00:03.65295] [86667] [warn] [6KynLSUpOfKZ] [/webwork2/ltiadvantage/launch] =========== SUMMARY ============
[2024-12-20 10:00:03.65304] [86667] [warn] [6KynLSUpOfKZ] [/webwork2/ltiadvantage/launch] User id is |my_real_username| (obtained from http://www.brightspace.com#username which was preferred_source_of_username)
[2024-12-20 10:00:03.65312] [86667] [warn] [6KynLSUpOfKZ] [/webwork2/ltiadvantage/launch] User email address is |my_real_username@dal.ca|
[2024-12-20 10:00:03.65317] [86667] [warn] [6KynLSUpOfKZ] [/webwork2/ltiadvantage/launch] strip_domain_from_email is |0|
[2024-12-20 10:00:03.65323] [86667] [warn] [6KynLSUpOfKZ] [/webwork2/ltiadvantage/launch] Student id is |my_real_banner_number_from_org_defined_id|
[2024-12-20 10:00:03.65329] [86667] [warn] [6KynLSUpOfKZ] [/webwork2/ltiadvantage/launch] preferred_source_of_username is |http://www.brightspace.com#username|
[2024-12-20 10:00:03.65334] [86667] [warn] [6KynLSUpOfKZ] [/webwork2/ltiadvantage/launch] fallback_source_of_username is ||
[2024-12-20 10:00:03.65338] [86667] [warn] [6KynLSUpOfKZ] [/webwork2/ltiadvantage/launch] preferred_source_of_student_id is |http://www.brightspace.com#org_defined_id|
[2024-12-20 10:00:03.65343] [86667] [warn] [6KynLSUpOfKZ] [/webwork2/ltiadvantage/launch] ================================
[2024-12-20 10:00:03.65784] [86667] [warn] [6KynLSUpOfKZ] [/webwork2/ltiadvantage/launch] Using current access token from database.
Then the LTI link falls back to webwork login screen. Nothing else in the log and no error messages. I created an account in the course to match the netid username and assigned it
to Test-set homework set. The preferred_source_of_username is set to email. Seems to be working from the summary above. I was wondering if there is anything else to try. Thanks a lot.