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

Automatic Authentication

ANSWERED

Hi am a Brazilian, i bought a Fitbit flex. I have a question, there is a way to authenticate my application to access the users data without passing through in login screen. A way to do automatic, by the code?

Thank you =p

Best Answer
3 BEST ANSWERS

Accepted Solutions

It is not possible for third party applications.

For security resons when third party application asks for user's data it is required for user to click approve on https://www.fitbit.com/oauth/authorize?oauth_token=<temporary-token>[&locale=<locale>][&display=touc... page.

Ivan Bahdanau
Senior Software Developer at Fitbit

View best answer in original post

Best Answer
Best Answer
0 Votes

@vipinnbr wrote:

Hi Ivan,

 

As I understand, there is an extended workflow available in your API by which the user need not log-in. How can this be made possible? could you please let me know how to make this call?

 

Also, would you not support a SSO type login scenario where the user interaction is not needed at all from a third party application?

 

Thanks,

Vipin


Fitbit users will always be required to give consent before a third-party will be allowed to access data on their behalf. Giving this consent requires a person be signed into Fitbit to grant access.

View best answer in original post

Best Answer
0 Votes
7 REPLIES 7

It is not possible for third party applications.

For security resons when third party application asks for user's data it is required for user to click approve on https://www.fitbit.com/oauth/authorize?oauth_token=<temporary-token>[&locale=<locale>][&display=touc... page.

Ivan Bahdanau
Senior Software Developer at Fitbit
Best Answer

Thank you =p

Best Answer
0 Votes

Hi ,

   I am working on fitbit Flex device trying to read the information from device using Bluettoth Low energy, but i am able to read the Device name,bateery percentage .When i am trying to read foot  print responce from device getting null always.Kindly i want to know reason for this question.

 

                                                Even i am following steps what fitbit api given ,still i am getting the error like No Authorization header provided in the request. Each call to Fitbit API should be OAuth signed . I was cross check error with fitbit error list and they didn't mention any reason .So could you please clarify both of this errors.

Thanks in advance,

vijay

Best Answer

No Authorization Header provided message means that you don't provide authorization header:)

Fitbit API requires that every single request is proparly signed and appropriate Authorization header presents in every API request.

For more details read this post: https://community.fitbit.com/t5/Web-API/How-to-properly-sign-API-request-and-set-up-OAuth-1-0a-flow/...

Ivan Bahdanau
Senior Software Developer at Fitbit
Best Answer
0 Votes

Hi Ivan,

 

As I understand, there is an extended workflow available in your API by which the user need not log-in. How can this be made possible? could you please let me know how to make this call?

 

Also, would you not support a SSO type login scenario where the user interaction is not needed at all from a third party application?

 

Thanks,

Vipin

Best Answer

@vipinnbr wrote:

Hi Ivan,

 

As I understand, there is an extended workflow available in your API by which the user need not log-in. How can this be made possible? could you please let me know how to make this call?

 

Also, would you not support a SSO type login scenario where the user interaction is not needed at all from a third party application?

 

Thanks,

Vipin


Fitbit users will always be required to give consent before a third-party will be allowed to access data on their behalf. Giving this consent requires a person be signed into Fitbit to grant access.

Best Answer
0 Votes

 

Hi,

Would like to check whether i can do an auto login for users if users have already given me their username and password and their consent?

Best Answer