I am developing an application, which can read many different user's data, which are registered with us. How can my application uses API with user's login ID and password to be authenticated, then read the user's data.?
Answered! Go to the Best Answer.
Best Answer
@RobertZh wrote:
I am developing an application, which can read many different user's data, which are registered with us. How can my application uses API with user's login ID and password to be authenticated, then read the user's data.?
You have to use OAuth 1.0 to authorize your application to be able to access the account's data. After that, you can use the token that is granted to indefinitely retrieve the user's data.
Best Answer
@RobertZh wrote:
I am developing an application, which can read many different user's data, which are registered with us. How can my application uses API with user's login ID and password to be authenticated, then read the user's data.?
You have to use OAuth 1.0 to authorize your application to be able to access the account's data. After that, you can use the token that is granted to indefinitely retrieve the user's data.
Best AnswerYes, I have done that. successfully authenticate my app and get the token and secret. Next step, I like to use user login id and password through the Fitbit API not the WEB login url to get the user data access token (so no login Fitbit screen popup). can you do this and how?
Thanks
Robert
Best Answer
@RobertZh wrote:
Yes, I have done that. successfully authenticate my app and get the token and secret. Next step, I like to use user login id and password through the Fitbit API not the WEB login url to get the user data access token (so no login Fitbit screen popup). can you do this and how?
Thanks
Robert
That isn't possible. For the protection of the user, we don't allow anyone else to intercept their username/password. I understand that you maybe doing this for accounts you directly control, however we cannot verify that.
Best Answer
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.
@kalyan wrote:
Please include APIs to access user details without OAuth (with direct username/password).
We will never do this. This would allow third-party developers to access user credentials and would be a significant security risk.
OAuth 1.0a and OAuth 2.0 are designed specifically for faciliating access to data on a user's behalf with their permission and security in mind.