Closed GoogleCodeExporter closed 9 years ago
Hi Samuel,
This behaviour is expected and required by the OAuth spec. Section 6.3.2 of the
OAuth Core 1.0a spec
(http://oauth.net/core/1.0a/#auth_step3) states that:
---
The Service Provider MUST ensure that:
* The request signature has been successfully verified.
* _The Request Token has never been exchanged for an Access Token._
* The Request Token matches the Consumer Key.
* The verification code received from the Consumer has been successfully
verified.
---
A request token is only allowed to be used once to get an access token.
However, an *access token can* be used an arbitrary
number of times. While individual service providers may limit the number of
times an access token can be used or the time
period for which it is valid, there is nothing in the spec to require this.
I hope this has cleared this up for you. Let me know if you have further
questions.
Cheers,
Bruce Boughton
Original comment by bruceboughton
on 7 Mar 2010 at 5:11
Original issue reported on code.google.com by
Samuel.D...@gmail.com
on 5 Mar 2010 at 6:10