09-17-2016 13:46
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

09-17-2016 13:46
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I'm developing an app for users that will access their fitbit data. Right now I have no trouble connecting to the FitBit API after the user is directed to the Fitbit Authorization page. However, I'd like to change the callback URI to bring the user back to my app after they have authorized their account.
I'm using the fitbit.py that I found here https://github.com/magnific0/FitBit.py. Right now, it only works if my redirect URI is set tohttp://127.0.0.1:8080/ in the fitbit.py program and on how my dev.fitbit.com/app is registered. Is it possible to change the redirect URI in this way?
Do I need to change it somewhere else as well? I'd really appreciate any information you may have that can help with this. Thanks in advance!
Mike
Answered! Go to the Best Answer.
Accepted Solutions
09-19-2016 16:09
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



09-19-2016 16:09
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
You can add multiple callback / redirect URIs to your application settings on https://dev.fitbit.com/apps . Just put one redirect URI per line.
Then, in your application, you'll need to specify which redirect URI you want Fitbit to redirect the user back to by specifying a value in the redirect_uri parameter of the Authorization Page.
09-19-2016 16:09
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



09-19-2016 16:09
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
You can add multiple callback / redirect URIs to your application settings on https://dev.fitbit.com/apps . Just put one redirect URI per line.
Then, in your application, you'll need to specify which redirect URI you want Fitbit to redirect the user back to by specifying a value in the redirect_uri parameter of the Authorization Page.
09-19-2016 19:02
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

09-19-2016 19:02
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Ok. Thank you. I see now.
When I have another web address in addition to http://127.0.0.1:8080/ the callback will go to the one specified in my fitbit.py program.
Thanks!

