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

React js with ionic capacitor application could not authorize in android app

I have an android application build with reactjs ionic capacitor. Here is my authorization url. It redirects me where I do an app permission. After I click the Allow button it redirects me back to the redirect_uri but without code parameter. In IOS and web it works fine.

https://www.fitbit.com/oauth2/authorize?client_id=XXXXX&redirect_uri=com.lorehealthcare.communitytes...

Best Answer
0 Votes
7 REPLIES 7

@rr.cirilo Welcome to the forums!

It looks like you've created a case through our support CRM as well. I have already provided you with a response via email. 

Best Answer
0 Votes

Is there a way to hard resfresh my android app after fitbit authorize?

 

Best Answer
0 Votes

@rr.cirilo 

What do you mean by "hard refresh" your android app?

Gordon

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

@Gordon-C Is there a documentation where I can follow for React Ionic Capacitor implementation?

Best Answer
0 Votes

Hi @rr.cirilo 

React Ionic Capacitor does not sound like something specific to Fitbit.   I would recommend performing some Google searches to find the documentation.

Gordon

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

Hi @Gordon-C @JohnFitbit , is there a way I can authenticate fitbit using Ionic Auth 5?

Best Answer
0 Votes

Hi @rr.cirilo 

The Fitbit Web API supports OAuth 2.0 Authorization Framework, rfc6749.  If Ionic's authorization framework supports this, I would suspect it would work with Fitbit. 

Also, if any developers in the community that have used Ionic, please provide some helpful tips to @rr.cirilo.

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