I need to get the Authorization Code, but it keeps saying Developer information: invalid_request - Invalid redirect_uri parameter value. My callback uri is http://127.0.0.1:8080/
Answered! Go to the Best Answer.
Best Answer
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
zwschlei wrote:
https://www.fitbit.com/oauth2/authorize?response_type=code&client_id=xxxxx&redirect_uri=http%3A%2F%2F127%2E0%2E0%2E1%3A8080%2Ffitbit_auth&scope=activity%20nutrition%20heartrate%20location%20nutrition%20profile%20settings%20sleep%20social%20weight
In this authorization page URL, you are specifying your redirect_uri to be
http://127.0.0.1:8080/fitbit_auth. It must be an exact match.
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
zwschlei wrote:
https://www.fitbit.com/oauth2/authorize?response_type=code&client_id=xxxxx&redirect_uri=http%3A%2F%2F127%2E0%2E0%2E1%3A8080%2Ffitbit_auth&scope=activity%20nutrition%20heartrate%20location%20nutrition%20profile%20settings%20sleep%20social%20weight
In this authorization page URL, you are specifying your redirect_uri to be
http://127.0.0.1:8080/fitbit_auth. It must be an exact match.