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

invalid_request - Invalid redirect_uri parameter value

I am using fitbitter dependency to display fitbit data in my flutter application. But I am getting response from fitbit that invalid_request - Invalid redirect_uri parameter value.  And i am using redirect_uri value as 

https://www.fitbit.com/oauth2/authorize  . So please help me to solve this issue.
Best Answer
0 Votes
1 REPLY 1

Hi @GaneshDev 

https://www.fitbit.com/oauth2/authorize should not be used as a redirect_uri value.   Instead, the redirect_uri should point to a location within your application that will read the authorization code provided and convert it to the access token and refresh token.   For example, the redirect_uri value could be https://myapp.com/callback

More information is available in our documentation at https://dev.fitbit.com/build/reference/web-api/developer-guide/authorization/.   

Gordon

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer
0 Votes