Skip to main content
Published: September 26 2007, 9:06:00 AMUpdated: November 28 2020, 3:58:46 PM

If I already have a token and generate a new token, using the same keys and for the same user, will it invalidate my existing token?

Summary
Your existing token will continue to work, and the new token that you generate will also work.  It does not matter which token you use, both of them will work fine.  One way to think of it is, that if you use your old token, it is automatically mapped to your new token and should work fine.   However, the recommended best practice is to use the latest token that you generated.

 


Detailed Description

Lets assume the following for a user using keyset1 :

Here are possible cases:
Case1:
On 1/1/2007, Token1 is created
On 6/1/2007, Token2 is created

In this case, both Token1 and Token2 will work till the expiration date for Token2.
However, the best practice is to use Token2.

Case 2:
On 1/1/2007, Token1 is created
Token1 is revoked by the user via MyeBay
On 6/1/2007, Token2 is created

In this case, only Token2 will work, even though it was generated using the same using for the same user.
 


Additional Resources

How well did this answer your question?
Answers others found helpful