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

Invalid redirect uri parameter

I am trying to implement fitbit java client (https://github.com/Stasonis/fitbit-api-example-java)
When I click on sign in it redirects to the 

 

https://www.fitbit.com/oauth2/authorize?client_id=228Q4X&redirect_uri=http://localhost:8080/login&response_type=code&scope=activity%20heartrate%20location%20nutrition%20profile%20settings%20sleep%20social%20weight&state=jJZjne

 

with error message. Redirect url in app setting and in above link are same. Please let me know.

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 REPLY 1

Edit: I found out my issue with the above error was that I needed to have http://localhost:8080/ in the Callback URL field of the app at https://dev.fitbit.com/apps. 

Best Answer
0 Votes