05-10-2020 00:58
05-10-2020 00:58
Hi Support,
When asking for refreshing Access Token, it seems we always get a 28800 Access Token lifetime even asking for only 3600, like in the following request :
05-11-2020 14:06
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
05-11-2020 14:06
Hi @Chuil,
When using the Authorization Code Grant Flow, access tokens have a default lifetime of 28800 seconds (8 hours).
expires_in optional |
Specify the desired access token lifetime. Defaults to 3600 for 1 hour28800 for 8 hoursType: integer |
See: https://dev.fitbit.com/build/reference/web-api/oauth2/#access-token-request
On a side note, 3600 is actually no longer supported. Our documentation is currently in the process of being revamped and will be removed in the future.
I hope this helps! Let me know if you have any additional questions.