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

Cloudfare verfication when Fetching new Token using refresh token

Hi,

I am using the Fitbit API in our application. After the expiry of a token i am trying to fetch a new token using the url : https://api.fitbit.com/oauth2/token from our backend services.

However, this URL  asks for cloudfare verfication. This cannot be performed from the  backend services as they have no understanding of the HTML page being rendered.

Please do let me know if anyone has had the situation and how they overcame it.

 

 

Best Answer
0 Votes
3 REPLIES 3

Would you please post the complete syntax of your command to refresh the token, including the headers?  Do not include your Basic token.   Also, please provide a screen shot of the error message.

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer
0 Votes

Hi Gordon,

Now i am completely unable to login to my fitbit account from the homepage . This is happening from chrome as well as IE. Its weird .

 

 

unable to loginunable to login

Best Answer
0 Votes

Hi @sidd123 ,

 

Would you please private message me your client id and the complete syntax of your command to obtain the refresh the token, including the headers?

 

Thanks!

Gordon

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer
0 Votes