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

Error in retrieving Authorization Code from FitBit

Hello, 

 

I am trying to access FitBit API in Android with Scribe Library. 

 

My application is making the following GET request to the server: 

 

https://www.fitbit.com/oauth2/authorize?response_type=code&client_id="my_client_id"&scope=activity%2...

 

Everything seems correct, except for there not being a "redirect_uri" in the GET request.. On the OAuth2 notes on the website I find that specification of a "redirect_uri" is:  "Required unless you have specified only one redirect URI for your application in the settings on dev.fitbit.com." Since I have only specified one "redirect_uri" in my Application Settings, do I understand correctly that this does not have to be included in the GET request? 

 

For the "redirect_uri", or "Callback URL" in Application Settings, I have just taken a random URL.. Then I have tested it with a Redirect Checker. I get the message : "Domain doesn't exists."

 

This is the first time I work with a "Callback URL", so I might be missing something fundamental here.. Can anyone point me in the right direction? 

Best Answer
0 Votes
0 REPLIES 0