ims-lti
ims-lti copied to clipboard
Does it work with Canvas authentication?
Hi, I am using this library to go through the Canvas LTI tutorial. However, there is difference between the oauth_signature generated by the library and the one passed by Canvas. I used https link in Canvas and the req_url that the library uses for the same request is http. I tried hard-coding the link to https in the library. I get a different signature, but still doesn't match with the signature sent from Canvas. There is no oauth_token passed from Canvas. Is it normal?
Was this library tested with Canvas before? Any tips on debugging the issue will be highly helpful.
Thanks!
Just set request.connection.encrypted = true;
before passing the request to the Provider