Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

After OAuth2.0 goes out of beta?Are you provide permanent access_token's

ANSWERED

I'm trying to develop a Websrvice that pulls my Registerd users data  down periodically (daily) for showing data to users on my cloud to belonging users ,but the OAuth 2.0 access_token's  is short lived only 1 Hour. for every time when i requested to resource FIrst i request for new access_token's then only i able to get data . After OAuth2.0 goes out of beta?Are you provide permanent access_token's or as same short lived for 1 Hour Only?

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

When using the OAuth 2.0 Authorization Code Grant flow, you receive an access token and a refresh token. You use the refresh token to obtain a new access token when the access token expires. This is in the documentation at https://wiki.fitbit.com/display/API/OAuth+2.0

View best answer in original post

Best Answer
1 REPLY 1

When using the OAuth 2.0 Authorization Code Grant flow, you receive an access token and a refresh token. You use the refresh token to obtain a new access token when the access token expires. This is in the documentation at https://wiki.fitbit.com/display/API/OAuth+2.0

Best Answer