Fitbit / Google Health POC 🫀
Browser-side proof-of-concept for Google Health API OAuth + Fitbit-derived exercise data fetch. No client secret or token is stored on the server.
Google Cloud setup
- Enable Google Health API in your Google Cloud project.
- Create an OAuth client for a Web application.
- Add this authorised JavaScript origin:
https://fitbit-health-poc.koala.devitltd.uk - Add yourself as a test user if the OAuth app is in testing.
- Add/request this scope:
https://www.googleapis.com/auth/googlehealth.activity_and_fitness.readonly
Connect
Status
- Origin:
https://fitbit-health-poc.koala.devitltd.uk - Endpoint:
https://health.googleapis.com/v4/users/me/dataTypes/exercise/dataPoints?pageSize=10 - Client ID: not set
- Access token: not connected
Result
Ready.