Expiry time of oauth token is wrong

Highlighted
Neues Mitglied

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

Responder
0 Avaliação positiva
1 Resposta 1
Highlighted
Moderator

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.

Responder
0 Avaliação positiva