tofaruk / oauth-php

Automatically exported from code.google.com/p/oauth-php
MIT License
0 stars 0 forks source link

remote server request error #139

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. installed on server 1 oauth-php lib with mysql
2. registred consumer key and secret from register.php form
3. instaleld on server 2 oauth-php lib with 2leg using(client/twoleggedtest.php)
4. changed key and secret, reqeust uri with (2.)
5. opening in my browser server 2 url and doesnt work. return this :

Array
(
    [code] => 401
    [headers] => Array
        (
            [date] => Sun, 25 Aug 2013 22:41:43 GMT
            [server] => Apache/2.2.24 (Unix) mod_ssl/2.2.24 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_qos/10.10
            [x-powered-by] => PHP/5.4.16
            [expires] => Thu, 19 Nov 1981 08:52:00 GMT
            [cache-control] => no-store, no-cache, must-revalidate, post-check=0, pre-check=0
            [pragma] => no-cache
            [x-xrds-location] => http://............
            [set-cookie] => PHPSESSID=f60ca28e10819214bd6fd29c3b3711df; path=/
            [transfer-encoding] => chunked
            [content-type] => text/plain; charset=UTF-8
        )

    [body] => OAuth Verification Failed: Can't verify request, missing oauth_consumer_key or oauth_token
)

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
191

Please provide any additional information below.

Original issue reported on code.google.com by Siriusof...@gmail.com on 25 Aug 2013 at 10:48