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

oAuth issue: duplicate redirect options back to mobile app

I'm a developer for an iOS/Android app, and am running into an issue in our oAuth process allowing Fitbit users to sync their wearable steps data with our app. After the user grants access to their data, the redirect link is duplicated, once as Open with BetterYou and again with Use a different app - BetterYou. In this case, only clicking on the Use a different app option will complete the oAuth handshake, which is not very intuitive UX.

See the attached screenshot. My apologies if I'm missing something obvious!


BY_Fitbit_OAuth_Error.png

Best Answer
0 Votes
2 REPLIES 2

Hi @matt_dow 

 

  1. Do you have multiple redirect URLs specified in your application or registered Fitbit application within https://dev.fitbit.com?
  2. Does this problem happen on Android and iOS?
  3. Are you using one of the mobile frameworks that is not supported but Fitbit?   See https://dev.fitbit.com/build/reference/web-api/developer-guide/application-design/#Displaying-the-Au...

Gordon

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

After additional research into this problem, I believe this behavior is not related to Fitbit but a nuance of Android.  I found this reference to a similar problem.

https://github.com/moberwasserlechner/capacitor-oauth2/issues/15.

 

See if this conversation helps. 

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