I'm building a tool for my institution that imports grades from another LTI tool into Canvas so instructors can automate late assignment policies not otherwise supported by Canvas.
I'm trying to use the LTIv1.3 ID which is readily available on the LTI-side as a link to the student record on Canvas, but I can't find the ID via Canvas. It sounds like the Names and Roles API is the way to go, but any time I try and access the /api/lti/courses/:course_id/names_and_roles endpoint, I get an "Invalid access token format" error.
Is there any way that a user can authorize to use this endpoint? Or, in lieu of that not being possible, is there any way I can get the LTIv1.3 ID through other means?