02-27-2017 11:11
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

02-27-2017 11:11
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I noticed in the api docs here: https://dev.fitbit.com/docs/oauth2/#authorization-errors that it appears we can authenticate users with the Fitbit api using Facebook or Google based on the potential error responses:
Facebook account used is not associated with a Fitbit account | {"errors":[{"errorType":"invalid_client","message": "Oops! We don’t have a Fitbit account associated with that Facebook login."}],"success":false} |
Google account used is not associated with a Fitbit account | {"errors":[{"errorType":"invalid_client","message": "Oops! We don’t have a Fitbit account associated with that Google login."}],"success":false} |
However, there's no other documentation about this. So how do we obtain an access token from the Fitbit api if we want to authenticate the user using their Facebook or Google account?
Answered! Go to the Best Answer.
Accepted Solutions
02-27-2017 11:37
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



02-27-2017 11:37
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Fitbit no longer has Google/Facebook sign in available for people going through the OAuth 2.0 consent flow.
If they have already signed in to www.fitbit.com using their Google/Facebook accounts, they won't be shown the sign in form prior to the consent form (unless prompt=login).
Google/Facebook sign in is only available in Fitbit's Web app, so it is not a commonly used feature.
02-27-2017 11:37
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



02-27-2017 11:37
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Fitbit no longer has Google/Facebook sign in available for people going through the OAuth 2.0 consent flow.
If they have already signed in to www.fitbit.com using their Google/Facebook accounts, they won't be shown the sign in form prior to the consent form (unless prompt=login).
Google/Facebook sign in is only available in Fitbit's Web app, so it is not a commonly used feature.
02-27-2017 12:36
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

02-27-2017 12:36
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Thanks for the clarification. Curious why they were removed.
02-27-2017 16:50
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



02-27-2017 16:50
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
We removed it from the OAuth consent flow's sign in form for 3 reasons:
- Very few people who use Fitbit use this feature.
- Google and Facebook have made breaking changes at least once a year.
- Google's and Facebook's scripts have broken in Android Web views with no workaround, often due to unusual browser modifications by Android device manufacturers.
05-20-2020 17:51 - edited 05-20-2020 17:53
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

05-20-2020 17:51 - edited 05-20-2020 17:53
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I know this was from years ago, but we're now seeing the Google login option on the OAuth login form for the web API, and it is indeed failing when used on Android. Is this currently a known issue?

05-21-2020 07:43
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



05-21-2020 07:43
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
@darin_ce This is expected behavior as Google/Facebook login are not supported during the OAuth consent flow.

05-21-2020 07:50
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

05-21-2020 07:50
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Thanks, good to know. Would it be possible to remove the buttons in situations where they're not supported?

05-21-2020 09:03
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



05-21-2020 09:03
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
@darin_ce That's a great suggestion. I'll see what the team thinks as this will help reduce confusion moving forward.

05-26-2022 15:12
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

05-26-2022 15:12
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Do folks know if Google login is still not supported for OAuth via the Web API? We are seeing the Google login button/option on the Fitbit OAuth screen for Web API, but we are seeing issues with OAuth completing. Curious if this is expected, or if it's something that we should be able to resolve.

05-26-2022 17:18
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



05-26-2022 17:18
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi @Evidation,
Welcome to the forums!
Please see our Social Login Support documentation. Currently, Google Login is not supported for consenting to 3P apps, but supported for SSO to Fitbit accounts.
Let me know if you have any additional questions.

05-31-2022 10:17
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

05-31-2022 10:17
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Thanks for confirming, John, appreciate it. I saw above that a request was made to remove the 'Google Login' button from the 3P app OAuth screen for the Fitbit Web API, since it isn't supported - is that still something that Fitbit is considering doing?

