Hi,
While integrating LTI 1.3, the platform redirects to my redirect url and when I decode the json web token (id_token), there was no field for email address even though in the profile it is updated. Logged in as an instructor.
This is the json body after decoding
{
"nonce": "nonce-",
"iat": --,
"exp":-- ,
"iss": "https://sandbox.moodledemo.net",
"aud": "--",
"https://purl.imsglobal.org/spec/lti/claim/deployment_id": "--",
"https://purl.imsglobal.org/spec/lti/claim/target_link_uri": "--",
"sub": "3",
"https://purl.imsglobal.org/spec/lti/claim/lis": {
"person_sourcedid": "",
"course_section_sourcedid": ""
},
"https://purl.imsglobal.org/spec/lti/claim/roles": [
"http://purl.imsglobal.org/vocab/lis/v2/membership#Instructor"
],
"https://purl.imsglobal.org/spec/lti/claim/context": {
"id": "3",
"label": "My second course",
"title": "My second course",
"type": [
"CourseSection"
]
},
"https://purl.imsglobal.org/spec/lti/claim/launch_presentation": {
"locale": "en"
},
"https://purl.imsglobal.org/spec/lti/claim/ext": {
"lms": "moodle-2"
},
"https://purl.imsglobal.org/spec/lti/claim/tool_platform": {
"product_family_code": "moodle",
"version": "2021051705",
"guid": "1f60aaf6991f55818465e52f3d2879b7",
"name": "Sandbox",
"description": "Moodle sandbox demo"
},
"https://purl.imsglobal.org/spec/lti/claim/version": "1.3.0",
"https://purl.imsglobal.org/spec/lti/claim/message_type": "LtiDeepLinkingRequest",
"https://purl.imsglobal.org/spec/lti-ags/claim/endpoint": {
"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"
],
"lineitems": "https://sandbox.moodledemo.net/mod/lti/services.php/3/lineitems?type_id=1"
},
"https://purl.imsglobal.org/spec/lti-dl/claim/deep_linking_settings": {
"accept_types": [
"ltiResourceLink"
],
"accept_presentation_document_targets": [
"frame",
"iframe",
"window"
],
"accept_copy_advice": false,
"accept_multiple": true,
"accept_unsigned": false,
"auto_create": false,
"can_confirm": false,
"deep_link_return_url": "https://sandbox.moodledemo.net/mod/lti/contentitem_return.php?course=3&id=1&sesskey=6XDULkusze",
"title": "TT",
"text": ""
}
}
Please let me know if I am missing anything.
Thanks,
Mani
(Edited by Jake Dallimore - original submission Thursday, February 24, 2022, 1:59 PM)