OAuth 2.0 - Token expiration information #10
-
Hello Fatture in Cloud team!
Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @stefanosalvucci and welcome! Just to recap: the access token expires after 24 hours from its emission (the expires_in param is referred to this token), while the refresh token expires after 1 year since its last usage. So you can consider it perpetual if you don't make it expire. Let us know if you have further questions. Thanks |
Beta Was this translation helpful? Give feedback.
Hi @stefanosalvucci and welcome!
You can find the info you need here: https://developers.fattureincloud.it/docs/authentication/code-flow/vanilla-code#-token-types
Just to recap: the access token expires after 24 hours from its emission (the expires_in param is referred to this token), while the refresh token expires after 1 year since its last usage. So you can consider it perpetual if you don't make it expire.
Let us know if you have further questions.
Thanks
Mauro