11-02-2017 14:57
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

11-02-2017 14:57
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I'm running into a strange issue with the OAuth flow. I have two URL's provided in the app settings. When I redirect to the authorization page, I am including a redirect_uri parameter with an EXACT copy of one of the URL's from the app settings (I literally copied and pasted so I know it's correct.) When the user authorizes the app on fitbit's side, it actually successfully redirects back using the URL provided but gives the following error.
{"errors":[{"errorType":"invalid_request","message":"Redirect_uri mismatch: null. Visit https://dev.fitbit.com/docs/oauth2 for more information on the Fitbit Web API authorization process."}],"success":false}
The documentation for this error states the following for this error:
redirect_uri - missing if specified in the redirect to the authorization page
That error message has me even more confused.... it can't be missing because it does redirect back.
What am I missing?
