-
Notifications
You must be signed in to change notification settings - Fork 11
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
RFC5849 support for section 3.5.2 #1
Comments
Very nice, thanks. In line 211 you just merge the two parameter dictionaries into one, so the resulting parameters would be in random order. However RFC5849 section 3.5.2 says they must appended.
I have seen OAuth 1 servers to be very strict with parameter ordering before, so that could be a problem. However I have just glanced over your code, so I could be wrong. I will take a closer look when I have the time. Thanks!! |
Good catch, looks like my server is more permissive than others. I'll take a look. |
Updated the code to sort the oauth parameters according to 3.5.2. |
Added support for sending the oauth parameters in the form-enconded body instead of just the 'authorization' header.
.diff file and changed OhhAuth.swift file attached in case you want to update the project:
form-encoded oauth parameters change.zip
The text was updated successfully, but these errors were encountered: