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

How do I get the fitbit Authorization code?

ANSWERED

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/

 

https://www.fitbit.com/oauth2/authorize?response_type=code&client_id=xxxxx&redirect_uri=http%3A%2F%2...

 

 

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

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.

View best answer in original post

Best Answer
1 REPLY 1

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.

Best Answer