Skip to content

getting NO_LTIK_OR_IDTOKEN_FOUND error on canvas self-hosted #5

@umair1191

Description

@umair1191

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions