I’m implementing an LTI 1.3 service and trying to request an access token from the Canvas endpoint:
POST {CANVAS_URL}/login/oauth2/token
I’m using grant_type=client_credentials and including a signed JWT in the request, as described in the OAuth2 Token Exchange documentation .
Here’s the high-level process:
Generate a JWT with claims:
iss: my tool's root URL
sub: my registered client_id
aud: {CANVAS_URL}/login/oauth2/token
iat and exp within 10 minutes
jti: UUID
Send a POST request with parameters:
grant_type = client_credentials
client_id (matches registration)
client_assertion_type = urn:ietf:params:oauth:client-assertion-type:jwt-bearer
client_assertion (the signed JWT)
scope including LTI AGS and NRPS scopes
The problem:When I submit this correctly (with the real client_id and signed JWT), the request times out with no response from Canvas.However, if I intentionally use an incorrect client_id, Canvas immediately responds with 401 Unauthorized as expected.
Additional details:
Everything works as expected in the Canvas test environment.
The issue only happens in our production environment, which is a self-hosted Canvas instance for my university.
Has anyone experienced this behavior? What could cause Canvas to hang on a valid client assertion request?
Is there something specific about JWT signing or key format that could cause Canvas to hang instead of returning an error?
Are there any Canvas logs or configuration settings we should check on a self-hosted instance?
Could this be related to firewall, SSL, or background job settings on the production instance?
Any guidance or examples would be appreciated!
Join this group to share your tips, insights, and reactions with other members.
I'm supporting faculty with accessibility at my community college/broad access college. I'm a social scientist and have used LaTeX, but I haven't pushed the boundaries of the Canvas editor at all. Microsoft has recently improved its equation editor, and it provides lists of what it does and doesn't support, for MathML,…
Hello! A caution to my fellow Admins and support folks that Instructure updated their live-chat link (the one in the "(?) Help" menu, if you license their Support Chat service) fairly recently, but the old broken one is still online and appears as if it still functions. If someone hits the old link, after entering their…
How do you make most of your decisions? When I make most of my decisions, I usually think about how the situation will turn out before I decide what to do. I try to look at the possible outcomes and think about what would happen depending on the choice I make. I don't always know exactly what the result will be, but I try…
I have been asked to discover whether Canvas Catalog can accept eCheck payments. My thought is that since Catalog is configured to redirect to a payment form at our Payment Gateway, that this might be more a question of configuring an additional option into the Catalog and payment gateway settings. Has anyone done this?
One of the teachers has registered for Google Services in her Canvas account. However, she is unable to link the Google Assignment LTI as an external tool for assignment submissions. The error message is "account not linked" after clicking continue at this step: When I try to go into this teacher's course as an admin and…