11-28-2016 07:53
11-28-2016 07:53
I am trying to set up an iOS app with the fitbit API. I am admittedly new at this. I am running through the OAuth 2.0 tutorial page on the fitbit dev website, and when I click on the authorization url I get the following message:
"The app you're trying to connect did not provide valid information to Fitbit. Please report this issue to them.
Developer information: invalid_request - Invalid redirect_uri parameter value"
I have my redirect URI set to "myAppName://oauth-callback" because this is the callback URL used in my app. Any help is greatly appreciated.
11-28-2016 15:58
11-28-2016 15:58
I updated my callback uri in the app settings, and now when I try to run my app, it hangs on the authorize call.
When I try clicking the link in the tutorial in chrome it just hangs on a white screen, and in Safari it gives an error that it can't read URLs starting with myAppName://.
Any thoughts?
11-29-2016 12:20
11-29-2016 12:20
@datzlauren For the purposes of doing the tutorial, you can just set your callback/redirect to this: https://localhost
11-30-2016 13:42
11-30-2016 13:42
I'm also new to this and I had the same issue as @datzlauren - I changed my calleback/redirect uri to your suggestion, but I get an error on the API Explorer page when I try to select the oAuth 2.0 authentication option:
"The app you're trying to connect did not provide valid information to Fitbit. Please report this issue to them. Developer information: invalid_request - Invalid redirect_uri parameter value"
11-30-2016 13:48
11-30-2016 13:48
@mejian Yeah, we're aware that the API Explorer is currently not working.
I was referring to the OAuth 2.0 tutorial page. You can use the tutorial instead of the API Explorer for now.