[ARCHIVED] LTI1.3 Assignment and grade
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2020
01:08 AM
I have my external tool which working fine with Canvas. All the auth endpoints are working as expected. As an instructor, I am able to create line items from my tool which gets displayed as an assignment in the platform.
Below sample JSON of my line item.
const newLineItemData = {
scoreMaximum: lineItemData.scoreMaximum,
label: lineItemData.label,
resourceId: resourceId,
tag: lineItemData.tag,
type: "external_tool",
external_tool_url:
"my tool url"
}
};
When a student goes to his assignment section on the platform, he can see all the assignments that the instructor created. Now, when students click on the specific assignment, my tools URL gets displayed in the frame however the problem that I am facing is, the launch that happens is a basic LTI launch request. I was expecting that the oidc launch flow will start so that I can get the id_token (which has all the scope and end points) and submit the grade for the logged-in students.
so my question is:
1) is this the right behaviour (i.e. basic LTI launch)?
2) why it's not launching the oidc launch flow?
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.