Using Fitbit and Auth0 you can connect your app to the Fitbit community
Fitbit provides a Web API for accessing data from Fitbit activity trackers, Aria scale, and manually entered logs. Anyone can develop an application to access and modify a Fitbit user's data on their behalf, so long as it complies with Fitbit Platform Terms of Service.
The Fitbit social connection allows users to log in to your application using their Fitbit profile.
By default, Auth0 automatically syncs user profile data with each user login, thereby ensuring that changes made in the connection source are automatically updated in Auth0. Optionally, you can disable user profile data synchronization to allow for updating profile attributes from your application.
New connections with Fitbit will use OAuth 2.0. Please see the following documentation on Using OAuth 2.0 with Fitbit.
Before you begin, sign up for a Fitbit Developer account.
Set up app in Fitbit
Set up an app in the Fitbit Developer portal. During this process, Fitbit will generate a API Key and API Secret for your application; make note of these.
While setting up your app, use the following settings:
|OAuth 2.0 Application Type||Select Application|
|Default Access Type||The type of access granted to the app.|
Find your Auth0 domain name
If your Auth0 domain name is not shown above and you are not using our custom domains feature, your domain name is your tenant name, your regional subdomain (unless your tenant is in the US region and was created before June 2020), plus
.auth0.com. For example, if your tenant name were
exampleco-enterprises, your Auth0 domain name would be
exampleco-enterprises.us.auth0.com and your callback URL would be
https://exampleco-enterprises.us.auth0.com/login/callback. (If your tenant is in the US and was created before June 2020, then your domain name would be
If you are using custom domains, your redirect URI will have the following format:
https://<YOUR CUSTOM DOMAIN>/login/callback.
You're ready to test your connection.