Platform: xdem-lti
Context: Let us test LTI integration
Title: Lets try to integrate LTI
Description: this is the test integration of LTI in ims global
JWT attributes in request:
{
"https://purl.imsglobal.org/spec/lti/claim/message_type": "LtiResourceLinkRequest",
"given_name": "Patrick",
"family_name": "II",
"middle_name": "McGlynn",
"picture": "http://example.org/Patrick.jpg",
"email": "Patrick.II@example.org",
"name": "Patrick McGlynn Bernhard II",
"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/membership#Mentor"
],
"https://purl.imsglobal.org/spec/lti/claim/role_scope_mentor": [
"a62c52c02ba262003f5e"
],
"https://purl.imsglobal.org/spec/lti/claim/resource_link": {
"id": "74268",
"title": "Lets try to integrate LTI",
"description": "this is the test integration of LTI in ims global"
},
"https://purl.imsglobal.org/spec/lti/claim/context": {
"id": "54541",
"label": "lti test",
"title": "Let us test LTI integration",
"type": [
"xdem lti test from IMS Global"
]
},
"https://purl.imsglobal.org/spec/lti/claim/tool_platform": {
"name": "xdem-lti",
"contact_email": "",
"description": "",
"url": "",
"product_family_code": "",
"version": "1.0",
"guid": "3696"
},
"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/result.readonly",
"https://purl.imsglobal.org/spec/lti-ags/scope/score"
],
"lineitems": "https://lti-ri.imsglobal.org/platforms/3696/contexts/54541/line_items",
"lineitem": "https://lti-ri.imsglobal.org/platforms/3696/contexts/54541/line_items/51113"
},
"https://purl.imsglobal.org/spec/lti-nrps/claim/namesroleservice": {
"context_memberships_url": "https://lti-ri.imsglobal.org/platforms/3696/contexts/54541/memberships",
"service_versions": [
"2.0"
]
},
"https://purl.imsglobal.org/spec/lti-ces/claim/caliper-endpoint-service": {
"scopes": [
"https://purl.imsglobal.org/spec/lti-ces/v1p0/scope/send"
],
"caliper_endpoint_url": "https://lti-ri.imsglobal.org/platforms/3696/sensors",
"caliper_federated_session_id": "urn:uuid:c58c6bdd7841b009bb81"
},
"iss": "https://xdemia.com",
"aud": "12345",
"iat": 1743804384,
"exp": 1743804684,
"sub": "cb6dc3961ed8bc85de58",
"nonce": "49181d9ec5fd5a1f9bc1",
"https://purl.imsglobal.org/spec/lti/claim/version": "1.3.0",
"locale": "en-US",
"https://purl.imsglobal.org/spec/lti/claim/launch_presentation": {
"document_target": "iframe",
"height": 320,
"width": 240,
"return_url": "https://lti-ri.imsglobal.org/platforms/3696/returns"
},
"https://www.example.com/extension": {
"color": "violet"
},
"https://purl.imsglobal.org/spec/lti/claim/custom": {
"myCustomValue": "123"
},
"https://purl.imsglobal.org/spec/lti/claim/deployment_id": "1",
"https://purl.imsglobal.org/spec/lti/claim/target_link_uri": "https://lti-ri.imsglobal.org/lti/tools/3366/launches"
}
JWT that will be sent:
eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IkV2RWFGbmkxbG9RVlVyellhWHFxdHlfZFA3MmhUYTgwTDUwTzZpeDhoT2sifQ.eyJodHRwczovL3B1cmwuaW1zZ2xvYmFsLm9yZy9zcGVjL2x0aS9jbGFpbS9tZXNzYWdlX3R5cGUiOiJMdGlSZXNvdXJjZUxpbmtSZXF1ZXN0IiwiZ2l2ZW5fbmFtZSI6IlBhdHJpY2siLCJmYW1pbHlfbmFtZSI6IklJIiwibWlkZGxlX25hbWUiOiJNY0dseW5uIiwicGljdHVyZSI6Imh0dHA6Ly9leGFtcGxlLm9yZy9QYXRyaWNrLmpwZyIsImVtYWlsIjoiUGF0cmljay5JSUBleGFtcGxlLm9yZyIsIm5hbWUiOiJQYXRyaWNrIE1jR2x5bm4gQmVybmhhcmQgSUkiLCJodHRwczovL3B1cmwuaW1zZ2xvYmFsLm9yZy9zcGVjL2x0aS9jbGFpbS9yb2xlcyI6WyJodHRwOi8vcHVybC5pbX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