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

redirect_uri for standalone mobile app

ANSWERED
Replies are disabled for this topic. Start a new one or visit our Help Center.

I am writing an android mobile app to access the data collected by the band with no backhand server. whatever I do, I cannot pass the OAuth valdition stage.

No matter what I configure in the Callback URL (for example http://localhost:8080) I get the "Developer information: invalid_request - Invalid redirect_uri parameter value" error.

how do I need to configure the callback url to for a standalone android app?

Best Answer
0 Votes
1 BEST ANSWER
4 REPLIES 4

If you mean you want the app to directly access the tracker data without going through the Fitbit servers, that is not possible.

Best Answer
0 Votes

Thanks for the answer,

 just to clarify, I am not asking about direct access to the device, it is evident that API is a server API.

My question is about the redirect_uri parameter of the OAuth.

 

to further elaborate:

It my understanding that the security validation process requires the developer to have some sort of server address that is put in the redirect_uri parameter and is called by OAuth at the end of the credentials validation process.

As a mobile developer (Android), my application does not require a backend server (all data is kept on the phone) so I cannot provide a redirect_uri server address as I have none.

 

Hence my question - what do I put into this (redirect_uri) parameter when I do not have a backhand sever I can use?

 

Best Answer
0 Votes

What should be used in callback URL in https:dev.fitbit.com? @ylusjs

 

Question link I post on stackoverflow, it is having screenshots about what error I'm facing.

http://stackoverflow.com/questions/39771139/fitbit-api-integration-using-oauth-2-0-with-chrome-custo...

Best Answer
0 Votes