10-25-2015 11:26
10-25-2015 11:26
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
Answered! Go to the Best Answer.
10-26-2015 06:58
10-26-2015 06:58
Doh! My redirect_uri value did not match the URI in my app settings, gaack! Please ignore this question.
10-25-2015 14:01
10-25-2015 14:01
Also my redirect_uri value matches the URI specified in my app settings on https://dev.fitbit.com
10-26-2015 06:58
10-26-2015 06:58
Doh! My redirect_uri value did not match the URI in my app settings, gaack! Please ignore this question.