08-25-2015 00:39 - last edited on 08-25-2015 09:46 by JeremiahFitbit
08-25-2015 00:39 - last edited on 08-25-2015 09:46 by JeremiahFitbit
Hi i need help regarding OAuth2.0 implementation with Fitbit.
i am also working with Fitbit API.
i have implemented OAuth1.0 successfully but stuck on Auth2.0
Moderator edit: moved to own topic
Answered! Go to the Best Answer.
08-27-2015 23:45 - edited 08-27-2015 23:46
08-27-2015 23:45 - edited 08-27-2015 23:46
My problem has been solved.
now i have successfully Authenticated OAuth2.0. actually the callback_uri was missing in my fibit parameters.i just forget to set that.
Thanks for your support.
Best Answer08-25-2015 09:49
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.
08-25-2015 09:49
We'll need more information to help you.
Best Answer08-26-2015 01:15 - edited 08-27-2015 23:33
08-26-2015 01:15 - edited 08-27-2015 23:33
By Using Implicit Grant flow.
but i am confuse about how i can use Scribe API?
My command is :
https://www.fitbit.com/oauth2/authorize "Authorization: Basic: CREATED" client_id=229MT2&grant_type=authorization_code&redirect_uri=google.com&callback=&response_type=token
Moderator edit: NEVER post your client secret anywhere publicly. You should reset it immediately at https://dev.fitbit.com/apps
Best Answer08-26-2015 13:49
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.
08-26-2015 13:49
You'll need to load https://www.fitbit.com/oauth2/authorize in a browser. This is the page that will ask the user if they want to give your app permission to access their data.
The user will then be redirected to your redirect_uri, which should be a full URI for your application.
Best Answer08-27-2015 23:45 - edited 08-27-2015 23:46
08-27-2015 23:45 - edited 08-27-2015 23:46
My problem has been solved.
now i have successfully Authenticated OAuth2.0. actually the callback_uri was missing in my fibit parameters.i just forget to set that.
Thanks for your support.
Best Answer