Expiry time of oauth token is wrong


#1

Dear,

We have noticed that the expiry time we get in our authentication token is indicated as 8 hours although it is in essence only 6 hours.

We have now changed our code so to catch this, but the time indicated in the token should be correct.

Could you please investigate this?

Thanks in advance.
Kind regards,
Wout


#2

Hi @woutdegeyter

Are you working with the new OAuth 2.0 tokens or the older OAuth system? New tokens expire in 6 hours, and the expires_in value you get when generating the token should reflect that.

Also, generating a new token will invalidate any previously generated token, so if you’re renewing a token early, it would deactivate the previous token before its original expiration time.