I'm trying to integrate authorization into my web app. I've got the authorization process working. The user can authorize my web app to access their fitbit data. But after the callback, how can I redirect the user's browser back to my app? The browser just hangs on the fitbit auth page with a progress indicator spinning with the message "Hold On, Please". Then it gets an internal server error. Shouldn't fitbit api redirect back to my page?
Edit: I tried adding an additional callback hoping that's how fitbit can help with this problem. I have these callbacks configured on the site. The first one gets called, the second one (my app page) does not:
http://localhost:8080/fitbit/fitbit_callback
http://localhost:8080/fitbit-api-test
Edit: I tried adding a redirect_uri parameter with the auth request and that didn't work either.
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.