oauth_body_hash parameter doesn't appear to be part of the spec! #230
-
I'm using this library to connect to the ETrade API which uses OAuth 1.0. All of the GET requests work just fine. However, anything with a body (e.g. POST or PUT) fails because the signature includes I see that None of them reference any header value named The inclusion of this value breaks the oauth comms with ETrade (and presumably others). I am going to make a PR to allow for disabling this header but I wanted to start a discussion here to make sure it would be accepted. What am I missing here? EDIT: used this tool which is an online oauth1 sandbox that computes signatures from various inputs. For POST, it does not ask for the post body as an input. It also doesn't produce any |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
PR to disable. |
Beta Was this translation helpful? Give feedback.
-
The OAuth request body hash extention is an oauth 1.0a extension by Google. Many services use it, e.g. Mastercard, and, of course, many do not. It should have always been an option in this library. Thanks for fixing it @chuckremes ! |
Beta Was this translation helpful? Give feedback.
The OAuth request body hash extention is an oauth 1.0a extension by Google. Many services use it, e.g. Mastercard, and, of course, many do not. It should have always been an option in this library. Thanks for fixing it @chuckremes !