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

redirect_uri

ANSWERED

I'm trying to write an ios app to retrieve fitbit data. I'm using this library: https://github.com/p2/OAuth2 and modified this code: https://github.com/p2/OAuth2PodApp to work with fitbit as opposed to github. I think I am not understanding something about the redirect_uri. I am able to get to the fitbit auth page and when I login with the following:

 

https://www.fitbit.com/oauth2/authorize?client_id={my client id}&redirect_uri={my registered sheme}%3A%2F%2Foauth%2Fcallback&scope=activity&response_type=code&state={user_id_specific_to_my_application}

 

I keep getting this after attempting to login to the fitbit auth page:

The app you're trying to connect did not provide valid information to Fitbit. Please report this issue to them.

Developer information: invalid_request - Invalid redirect_uri parameter value

 

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

Doh! My redirect_uri value did not match the URI in my app settings, gaack! Please ignore this question. 

View best answer in original post

Best Answer
2 REPLIES 2

Also my redirect_uri value matches the URI specified in my app settings on https://dev.fitbit.com

Best Answer
0 Votes

Doh! My redirect_uri value did not match the URI in my app settings, gaack! Please ignore this question. 

Best Answer