You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to add a custom parameter to the authorization header? I'm using OAuth1 to make an API call that requires the parameter, "diffie_hellman_challenge" in the authorization header. I saw that in 2014, there was a similar request: requests/requests-oauthlib#125
Instead of limiting the parameters to specific keywords, would it be possible to make the function cycle through a generic list parameters? Many thanks!
The text was updated successfully, but these errors were encountered:
Also looking for a way to add the same into the Auth header. It doesn't look like there's a good way to do what we want. I also came across requests-oauthlib/issues/125 and attempted to do something along the lines of:
But because param doesn't start with oauth_ it gets stripped out in the method filter_oauth_params(params) in here. I'm starting to think that I might just have to write a method to construct the header manually.
Is there a way to add a custom parameter to the authorization header? I'm using OAuth1 to make an API call that requires the parameter, "diffie_hellman_challenge" in the authorization header. I saw that in 2014, there was a similar request: requests/requests-oauthlib#125
Instead of limiting the parameters to specific keywords, would it be possible to make the function cycle through a generic list parameters? Many thanks!
The text was updated successfully, but these errors were encountered: