Hello Canvas Community,
We are working on an integration using the Canvas LMS API, and are attempting to generate an access token for a student using the endpoint:
POST /api/v1/users/:user_id/tokens
https://www.canvas.instructure.com/doc/api/access_tokens.html
We are using an admin-level access token
However, we are experiencing issues:
-
The token is not returned, or is returned in a "pending" state with no "token" value.
-
There appears to be no way to activate the pending token programmatically or via impersonation.
-
We could not find clear documentation or UI references on how a specific user (e.g., the student) can manually activate a pending token created by an admin