Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting NO_LTIK_OR_IDTOKEN_FOUND error on canvas self-hosted #5

Open
umair1191 opened this issue Jul 9, 2024 · 1 comment
Open

Comments

@umair1191
Copy link

Quizz-Tool
having error,

iss url: https://canvas.learnanything.uk/

await lti.registerPlatform({
url: 'https://canvas.learnanything.uk',
name: 'learnanything.uk',
clientId: '10000000000009',
authenticationEndpoint: 'https://canvas.learnanything.uk/api/lti/authorize_redirect',
accesstokenEndpoint: 'https://canvas.learnanything.uk/login/oauth2/token',
authConfig: { method: 'JWK_SET', key: 'https://canvas.learnanything.uk/api/lti/security/jwks' }
})

{"status":401,"error":"Unauthorized","details":{"description":"No Ltik or ID Token found.","message":"NO_LTIK_OR_IDTOKEN_FOUND","bodyReceived":{"utf8":"✓","authenticity_token":"TBY6QUc0vG30fOXeZRA5Vxu3b1Aq3kKsf9cSWw62+IUWe3QOCkPrGJ8elPErcXJ4Y+QqO1jpCJU3n3djSNuxxw==","error":"launch_no_longer_valid","error_description":"The launch has either expired or already been consumed","state":"0b52142ef043090c051e6f69e50f82ed92221c27fe571c53d1"}}}
can somebody check what's wrong with my settings?
Node App terminal:
image

@tonylabs
Copy link

Same issue. I guess just missing some configurations I don't know or setup wrong URIs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants