cancel
Showing results for 
Search instead for 
Did you mean: 
10618071
Community Participant

Custom Fields not coming through in LTI 1.3

@wdransfield  or anyone else that can help

We have the following LTI 1.3 JSON, but it is not returning any of our variables, do you have any idea why?

 

{
"title": "Δ Delphinium",
"description": "Motivation and Engagement for Canvas courses",
"privacy_level": "public",
"oidc_initiation_url": "https://www.delphinium.xyz/green-house",
"target_link_uri": "https://www.delphinium.xyz/green-house",
"scopes": [
"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",
"https://purl.imsglobal.org/spec/lti-nrps/scope/contextmembership.readonly",
"https://purl.imsglobal.org/spec/lti-ags/scope/lineitem.readonly",
"https://canvas.instructure.com/lti/public_jwk/scope/update"
],
"extensions": [
{
"domain": "www.delphinium.xyz",
"tool_id": "Motivation and Engagement for Canvas courses",
"platform": "canvas.instructure.com",
"settings": {
"text": "Motivation and Engagement for Canvas courses",
"icon_url": "https://www.delphinium.xyz/themes/delphinium-theme/assets/images/favicon.png",
"selection_height": 600,
"selection_width": 600,
"placements": [
{
"enabled": false,
"default": "disabled",
"text": "Δ Delphinium",
"icon_url": "https://www.delphinium.xyz/themes/delphinium-theme/assets/images/favicon.png",
"placement": "course_navigation",
"message_type": "LtiResourceLinkRequest",
"target_link_uri": "https://www.delphinium.xyz/green-house"
},
{
"enabled": true,
"text": "Δ Delphinium",
"icon_url": "https://www.delphinium.xyz/themes/delphinium-theme/assets/images/favicon.png",
"placement": "account_navigation",
"message_type": "LtiResourceLinkRequest",
"target_link_uri": "https://www.delphinium.xyz/organization",
"selection_height": 600,
"selection_width": 600
},
{
"text": "Delphinium",
"enabled": true,
"icon_url": "https://www.delphinium.xyz/themes/delphinium-theme/assets/images/favicon16.png",
"placement": "editor_button",
"message_type": "LtiDeepLinkingRequest",
"target_link_uri": "https://www.delphinium.xyz/editor"
}
]
}
}
],
"custom_fields": {
"custom_canvas_api_domain": "$Canvas.api.domain",
"custom_canvas_course_id": "$Canvas.course.id",
"custom_canvas_user_id": "$Canvas.user.id",
"user_image": "$User.image",
"membership_roles": "$Canvas.membership.roles",
"custom_canvas_account_id": "$Canvas.account.id",
"custom_canvas_user_is_root_account_admin": "$Canvas.user.isRootAccountAdmin",
"custom_canvas_root_account_id": "$Canvas.rootAccount.id",
"custom_canvas_root_account_uuid": "$vnd.Canvas.root_account.uuid",
"account_name": "$Canvas.account.name",
"custom_external_tool_url": "$Canvas.externalTool.url"
},
"public_jwk": {
[removed]
}
}

Labels (1)
0 Kudos
1 Reply
10618071
Community Participant

We figured it out, hopefully this will help someone. The variables are in the JWT payload once the JWT has been decoded.