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

Non-expiring OAuth 2.0 tokens?

ANSWERED

I'm trying to develop a Python script that pulls my data down periodically (daily) for offline analysis, and discovered that the OAuth 2.0 refresh_token is usable only once. Since I'm only making API calls once a day, my access_token will always be expired, requiring a refresh call. I don't want to have to save a new refresh_token each time I make an API call, I just want to refresh my existing token. Are there plans to provide permanent access_token's or refresh_token's for the OAuth 2.0 API? If so, will this be done during the beta cycle, or only after OAuth2.0 goes out of beta? If not, how can I make repeated once-daily calls to the API using OAuth 2.0 (for heartrate retrieval) without having to save an update refresh_token each time?

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

We will email all app owners when OAuth 2.0 is out of beta. We regularly post announcements to this forum and pin them to the top of the page.

View best answer in original post

Best Answer
0 Votes
5 REPLIES 5

Hi @jwbernin, yes, we do have plans to add a special type of authentication for this scenario in the coming months.

Best Answer
0 Votes

@JeremiahFitbit is there a notification list I can get on for when this feature comes out? 

Best Answer
0 Votes

We will email all app owners when OAuth 2.0 is out of beta. We regularly post announcements to this forum and pin them to the top of the page.

Best Answer
0 Votes

Any update?  This sounds like what I need.

Best Answer
0 Votes

I was referring to:  Hi @jwbernin, yes, we do have plans to add a special type of authentication for this scenario in the coming months.

Best Answer
0 Votes