09-22-2014 16:23
09-22-2014 16:23
Hello,
I'm having a hard time getting the oauth_callback working within the application that i'm currently developing.
I have a callback url set in the application prefrences and i've also tried setting oauth_callback in the request_token call and in the response I get oauth_callback_confirmed=true, but every time I then grant the user access i'm returned the PIN from fitbit (which works) but i'm never redirected to the oauth_callback page.
Any suggestions?
Answered! Go to the Best Answer.
Best Answer09-22-2014 16:39
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
09-22-2014 16:39
Hello.
Please check that in your applications settings in dev.fitbit.fom the [Application Type] is set to web browser.
Best Answer09-22-2014 16:39
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
09-22-2014 16:39
Hello.
Please check that in your applications settings in dev.fitbit.fom the [Application Type] is set to web browser.
Best Answer09-22-2014 17:20
09-22-2014 17:20
Thanks! This worked for me.
I suggest that you update the documentation to make this a little more clear, the only refrence i found was in the section "The user approves the client application. The client application cannot receive redirects. Fitbit shows the verifier to the user on the Fitbit site."
But since this is not a client that cannot receive redirects I didn't even think to check there.
Thanks again!
Best Answer