Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Stuck on OAuth 2.0

ANSWERED

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

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

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.

 

 

View best answer in original post

Best Answer
0 Votes
4 REPLIES 4

We'll need more information to help you.

 

  1. What part of the documentation are you stuck at? https://dev.fitbit.com/docs/oauth2/
  2. Are you building a web server application or a distributed client application (native web apps or native mobile platforms without a web server)?
  3. Are you using the Authorization Code Grant flow or Implicit Grant flow?
Best Answer
0 Votes

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 Answer
0 Votes

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 Answer
0 Votes

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
0 Votes