ughimire / oauth-php

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

Setting a TTL for tokens causes 401 Verification Failed. #117

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Setup example client / server system
2. Alter sever/www/oauth.php line 39 to be:
$server = new OAuthServer(null, null, array('xoauth_token_ttl' => 60));
3. Attempt a 3-legged request with the googledocs example (modified to be on a 
localhost).

What is the expected output? What do you see instead?
Expected: successful request (works with the modification).
Actual: See attached actual.txt

What version of the product are you using? On what operating system?
SVN checkout as of October 8th, 2011.

Please provide any additional information below.
n/a

Original issue reported on code.google.com by JessTicu...@gmail.com on 8 Oct 2011 at 5:47

Attachments:

GoogleCodeExporter commented 8 years ago
Note that without doing the modification listed in step 2, the request is 
successful.

Original comment by JessTicu...@gmail.com on 8 Oct 2011 at 5:48

GoogleCodeExporter commented 8 years ago
Forgot to add operating info:

PHP: v5.2.9
Apache2, linux.

Original comment by JessTicu...@gmail.com on 8 Oct 2011 at 5:56