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

Does it work with Canvas authentication? #69

Open
ndileep opened this issue Aug 11, 2017 · 1 comment
Open

Does it work with Canvas authentication? #69

ndileep opened this issue Aug 11, 2017 · 1 comment

Comments

@ndileep
Copy link

ndileep commented Aug 11, 2017

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!

@osdavison
Copy link

Just set request.connection.encrypted = true; before passing the request to the Provider

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