mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 20:55:57 +03:00
[GH-ISSUE #142] Additional parameters on the querystring are not being factored into OAuth signature. #89
Labels
No labels
bug
cocoapod
duplicate
enhancement
feature-request
help wanted
help wanted
invalid
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/OAuthSwift#89
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pculligan on GitHub (Nov 9, 2015).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/142
I came across a case where the URL to GET a request token had additional querystring parameters.
However, these parameters are not currently accounted for when generating the OAuth signature.
This is arguably ok in the case of URLs where we can assume that educating the user on not having querysting parameters, but cannot be accepted in the case of the request, authorize, or access methods during OAuth negotiation (the method
authorizeWithCallbackURL,postOAuthRequestTokenWithCallbackURLandpostOAuthAccessTokenWithRequestTokendon't support parameters).The OAuth1.0 spec states that the OAuth signature must account for all of the parameters and the URL portion of the signature base string must only be the scheme, query, and path.