Note that there are some explanatory texts on larger screens.

plurals
  1. POPHP OAuthProvider rejecting signature method on staging server
    primarykey
    data
    text
    <p>I've made an OAuth Provider using the <a href="http://www.php.net/manual/en/class.oauthprovider.php" rel="nofollow" title="OAuthProvider PHP Extension">PHP Extension</a>. This works fine in my development environment but after moving it to our Staging server I keep receiving the error message:</p> <pre><code>oauth_problem=signature_method_rejected </code></pre> <p>I've tested this by connecting using a test script on the staging server connecting to itself, the development server connecting the staging server, and using both the PHP OAuth Extension and the <a href="http://framework.zend.com/manual/en/zend.oauth.introduction.html" rel="nofollow" title="Zend OAuth Introduction">Zend OAuth Consumer</a> class. In every case it works when connecting to the development server, but gives the above error when connecting to the Staging server.</p> <p>Tracing through the code, the error is given when the OAuthProvider class is instantiated.</p> <pre><code>$this-&gt;provider = new OAuthProvider(); </code></pre> <p>Checking the $_SERVER['QUERY_STRING'] gives me the following:</p> <pre><code>oauth_consumer_key=6e449c12132115a9ba1cf1163c37f904&amp; oauth_nonce=e2ff158969b3e7213927e4a19de1b11f&amp; oauth_timestamp=1343990462&amp; oauth_signature_method=HMAC-SHA1&amp; oauth_version=1.0&amp; oauth_callback=redacted&amp; oauth_signature=y06YvCzVno8GSDib4%2BOeExDGWH0%3D </code></pre> <p>(breaks inserted for readability)</p> <p>As you can see the signature method is valid (I've tried the other methods mentioned in the spec, but they didn't work on either the staging server or the development server.</p> <p>Has anyone come across anything like this before? If any more information is required, please let me know.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload