LTI1.3 Assignment and grade

dtiwari_1991
Community Member

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 = {
      scoreMaximumlineItemData.scoreMaximum,
      labellineItemData.label,
      resourceIdresourceId,
      taglineItemData.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?
Labels (1)