I have an issue with the redirect_url in the OAuth2 Process with the FitBit API..
User is directed to the Authorization Page in Chrome Custom Tabs (recommended). When clicked "agree", user is not redirected back to application or I get an error message.
I find the documentation on the FitBit website very unclear..
I have already set callback_uri in many different ways, with different outcomes:
I land on the Local Page with the right Auth Code No redirect because not specified:
When added /callback, I get an "error not found" message, why??:
When using a public domain, I get an error message, why is this? Oops it it not you, it is us..
Setting in the Application Page are correct.
Settings in the Manifest are the following, adapted per redirect..
<intent-filter> <action android:name="android.intent.action.VIEW"/> <category android:name="android.intent.category.DEFAULT"/> <category android:name="android.intent.category.BROWSABLE"/> <data android:host="www.locallhost.com/redirect" android:scheme="http"/> </intent-filter>