How do I make oauth connections when my server uses a proxy to access sites outside of the network?


#1

The flow looks a bit like:

My Sandbox Server => Proxy Server => Twitter

I believe that the “secret” is tailored to my sandbox server, but by the time the OAuth request reaches twitter, the Proxy has changed enough headers to invalidate the signature assigned to the request. Can anyone offer pointers on how to handle this scenario?

I’ve tried using the PHP PECL OAuth extension and Matt Harris’s Twitter class (https://github.com/themattharris/tmhOAuth) with little success.

Thanks for any help.


#2

How is your proxy rewriting the request? Only querystring, body parameters, the URL, and the HTTP method are included in the OAuth signature.


#3

i just want to verified my account. may you help me?


#4

i just want to verified my account
. may you help me?