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

Invalid redirect_uri parameter value

ANSWERED

We are using 3 environments for our Android app. QA, Stage, and Production. For Stage and Production, it is working fine, but it is not working in QA Environment. Note that, we use VPN for the QA environment.

```

https://www.fitbit.com/oauth2/authorize?client_id=xxxxxx&prompt=consent&redirect_uri=sharecare-track...
```

The client id is different for each environment. We have different package names for each environment.

In QA Environment, after sign in page, we get the below error:

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

@sagar.patel Welcome to the forums!

Have you ensured that the redirect url you've listed in your application code, matches exactly with the redirect url provided in QA2's application details at dev.fitbit.com? Having a typo can cause this error to return.

View best answer in original post

Best Answer
3 REPLIES 3

@sagar.patel Welcome to the forums!

Have you ensured that the redirect url you've listed in your application code, matches exactly with the redirect url provided in QA2's application details at dev.fitbit.com? Having a typo can cause this error to return.

Best Answer

Thanks for the reply @JohnFitbit Indeed, there was a typo. However, it will be helpful if we can provide better UI/UX for the `Redirect URL` section available under the `Applications | registered` in dev.fitbit.com/apps/details/clientID. Rows with the `edit` button to edit existing URL, `+` to add new URL, and `-` to remove the existing URL will make it clean and easy to read.

Best Answer
0 Votes

@sagar.patel Happy to hear you were able to catch the typo and resolve the issue.

As for the feedback on the UI/UX, thanks for letting us hear your thoughts on how we can improve. I'll create a ticket has an enhancement request for this and pass it off to the appropriate team for review. 

Best Answer
0 Votes