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

Running rfc3986 on base_uri in oauth.hmacsign instead of just encodeURIComponent #362

Merged
merged 1 commit into from
Nov 5, 2012

Conversation

jeffmarshall
Copy link

All I've changed in terms of output is that the base_uri is encoded with the rfc3986 function before being included in the sha1 base. I was getting 401 errors with the LinkedIn API because my signatures were wrong when I used field selectors in an api call.

…codeURIComponent.

Essentially, all I've really changed in terms of output is that the base_uri is
encoded with the rfc3986 function before being included in the sha1 base. I was
getting 401 errors with the LinkedIn API because my signatures were wrong when
I used [field selectors](https://developer.linkedin.com/documents/field-selectors)
in an api call.
mikeal added a commit that referenced this pull request Nov 5, 2012
Running `rfc3986` on `base_uri` in `oauth.hmacsign` instead of just `encodeURIComponent`
@mikeal mikeal merged commit 32713ad into request:master Nov 5, 2012
@mikeal
Copy link
Member

mikeal commented Nov 5, 2012

the oauth test no longer passes :(

@mikeal
Copy link
Member

mikeal commented Nov 5, 2012

if i don't get a fix in the next few hours i'm going to have to back this out.

@jeffmarshall
Copy link
Author

Ok, I'll have a look.

mikeal added a commit that referenced this pull request Nov 5, 2012
This reverts commit 32713ad, reversing
changes made to 4a81507.
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

Successfully merging this pull request may close these issues.

2 participants