02-02-2022 14:29
02-02-2022 14:29
Hi, I'm writing my first Fitbit app, which involves getting data from a third-party, starting with an OAuth process to gain an access token using the generic OAuth button element.
After authorising the app to request data, I'm redirected back to the Settings page. onReturn is being called, and I can see the code and state in the response, but the onAccessToken function was not called...
I have specified a requestTokenUrl for the OAuth button, but when I inspect the preserved logs in the Dev Tools of the Settings window, I don't see any HTTP request to this URL.
Should the token request be sent automatically, or do I need to manually initiate this somehow?