04-28-2015 11:10
04-28-2015 11:10
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.
04-28-2015 11:14
04-28-2015 11:14
@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.
04-28-2015 11:14
04-28-2015 11:14
@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.
04-28-2015 15:04
04-28-2015 15:04
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
04-28-2015 15:18
04-28-2015 15:18
@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.
05-03-2015 00:32
05-03-2015 00:32
Please include APIs to access user details without OAuth (with direct username/password).
05-04-2015 10:35
05-04-2015 10:35
@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.