Cannot connect to self-hosted Canvas lms
See original GitHub issueI have tried ltijs to connect to our self-hosted Canvas at http://dvseok.shop but I cannot get token in function lti.onConnect
, it returend undefined. this is our config:
await lti.registerPlatform({
url: "http://dvseok.shop",
name: "dvseok",
clientId: "10000000000003",
authenticationEndpoint: "http://dvseok.shop/api/lti/authorize_redirect",
accesstokenEndpoint: "http://dvseok.shop/login/oauth2/token",
authConfig: {
method: "JWK_SET",
key: "http://dvseok.shop/api/lti/security/jwks",
},
});
I also tried with your demo project ltijs-demo-server and ltijs-demo-client, when I go to browser of ltijs-demo-client, it always displayed Failed retrieving members! Error: Missing lti key.
.
I tried to calling a GET request /info demo server with my Canvas LTI key. This is the response:
{
"status": 401,
"error": "Unauthorized",
"details": {
"message": "Error validating LTIK or IdToken",
"errorLog": "jwt malformed"
}
}
Am I missing anything? Thanks!
Issue Analytics
- State:
- Created 3 years ago
- Comments:17 (9 by maintainers)
Top Results From Across the Web
Canvas error at selfhosted bitnami - Instructure Community
Hi I do setup a canvas LMS while when I try to access to the JWK url page it do have some error....
Read more >H5P not able to launch in self hosted Canvas - Google Groups
I'm not able to connect to H5P as a start to test the LTI 1.3 Integrations in the self hosted environment. What could...
Read more >Self-hosted, open-source LMS' aren't actually free - Instructure
Self-hosted, open-source LMS' aren't actually free. Instead they come with the costs of running and maintaining the platform. Canvas delivers the best of ......
Read more >The Challenges of Integrating With Canvas - Edlink
Canvas environments are self-hosted by the district or school. Thus, updates to Canvas installations must be pushed by IT administrators of the ...
Read more >Self Hosted / Open Source Canvas with Assignments LTI
maybe google doesn't actually support this and its something Instructure built independently. who knows at this point ... I'm not getting ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
My pleasure! Feel free to contact me if you have any more doubts: cvmcosta@gmail.com
@Cvmcosta fully supported me to solve this. Again, thank you very much!