Skip to content

Conversation

@chuckremes
Copy link
Contributor

Not all OAuth 1.0 implementations recognize or respect oauth_body_hash in the base signature for POST/PUT payloads that are not url-encoded. Provides simple mechanism to disable this feature for improved compatibility.

@chuckremes
Copy link
Contributor Author

BTW, I'm happy to make additional changes to this. I was a bit worried that there was no integration test that tests this path all the way through from Consumer but it doesn't currently test any body hash logic now. I wanted to make minimal changes to get this working. I can add more tests if you like.

@pboling
Copy link
Member

pboling commented Dec 13, 2021

@chuckremes Thanks for this! It looks great. I'd love to get more tests, always, but I'm happy enough with this for merging.

@pboling pboling merged commit ae7093d into ruby-oauth:master Dec 14, 2021
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