08-25-2015 00:39 - last edited on 08-25-2015 09:46 by JeremiahFitbit
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

08-25-2015 00:39 - last edited on 08-25-2015 09:46 by JeremiahFitbit
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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.
Accepted Solutions
08-27-2015 23:45 - edited 08-27-2015 23:46
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

08-27-2015 23:45 - edited 08-27-2015 23:46
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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.

08-25-2015 09:49
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



08-25-2015 09:49
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
We'll need more information to help you.
- What part of the documentation are you stuck at? https://dev.fitbit.com/docs/oauth2/
- Are you building a web server application or a distributed client application (native web apps or native mobile platforms without a web server)?
- Are you using the Authorization Code Grant flow or Implicit Grant flow?

08-26-2015 01:15 - edited 08-27-2015 23:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

08-26-2015 01:15 - edited 08-27-2015 23:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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

08-26-2015 13:49
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



08-26-2015 13:49
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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.

08-27-2015 23:45 - edited 08-27-2015 23:46
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

08-27-2015 23:45 - edited 08-27-2015 23:46
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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.

