Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

In Redirect Url showing disabledThirdPartyLogin Query paramter true

 Hello,

When i am trying to redirect to my valid redirect page then automatically page is coming and showing disableThirdPartyLogin is true.

please help me how to enable third party login in fitbit redirect url.

 

Thanks,

Sachin

Best Answer
0 Votes
7 REPLIES 7

Hi @sachinAtBizvizT

 

Would you please share a screenshot of the error message you are receiving when displaying your redirect page?   

 

 

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer
0 Votes

 Hi @GordonFitbit,
Thanx for reply,

See this is my Complete URL => ( https://www.fitbit.com/oauth2/authorize?response_type=code&client_id=22DF8N&redirect_uri=https://qa.... nutrition heartrate location nutrition profile settings sleep social weight ).

 

Wnenever I am hitting this url in browser, It is redirecting to me on one Page => ( https://www.fitbit.com/login?disableThirdPartyLogin=true&redirect=%2Foauth2%2Fauthorize%3Fclient_id%... ).

 

Check in above Url one query parameter is thr disableThirdPartyLogin which is TRUE. So that it is not showing me third party login but when i am trying to change this to FALSE. It is showing me third party option i.e Facebook and google+ signing.

This was one case.

 

Second case is suppose if i have signed in using Google then if i am doing login in my app it is showing USER DOES'NT EXIXTS. But if i am doing same process with Facebook Signed in, then it is working perfectlySelection_007.png

Best Answer
0 Votes

Please Check The screen Shot,

Selection_009.png

Best Answer
0 Votes

Selection_010.png

Best Answer
0 Votes

Fitbit does not support Google/Facebook login through the OAuth 2.0 consent flow.  Please refer to this forum post for details.

 

https://community.fitbit.com/t5/Web-API-Development/API-OAuth-login-using-Facebook-or-Google/td-p/18...

 

You'll need to log in with your Fitbit credentials.

 

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer
0 Votes

I am okk with that but my question is if i have created free account using google (Sign Up with Google) then after that i am trying to login without third party in my application why it is showing like USER DOESN'T EXISTS.

And If I am creating free account using Facebook (Sign Up with Facebook) then it is working fine in my application.

Why these both having different flow.

Best Answer
0 Votes

When I tested setting up an account using Google, Google authenticated my gmail address, but I still needed to enter a new password for my Fitbit account.  Then, when I use my Fitbit account to authenticate my application, I use my gmail address and the Fitbit account password (not my Google account password).  This allowed me to share my data.  

 

Using an incorrect password will return the error message "User does not exist or password is incorrect".

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer
0 Votes