Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix issue with different methods used for signing and requesting access token #83

Closed
wants to merge 1 commit into from

Conversation

VikParuchuri
Copy link
Contributor

In the OAuthV1 code that requests an access token, signatures are generated using the request method (among other parameters).

Without the fix, when the request method (access_token_method property) is set to 'POST', then the signature is generated using 'POST', but the request is made with 'GET'. This causes a signature mismatch, and the OAuthV1 provider throws an error.

This quick fix passes the method along when requesting an access token, fixing the mismatch.

@lepture
Copy link
Owner

lepture commented Mar 10, 2014

84f8106

@lepture lepture closed this Mar 10, 2014
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants