We want to create an API for our site. One of the main ways to use the API (I suspect) will be to provide users with the ability to create mobile applications (for the iPhone and, hopefully, other devices).
What is the best way to handle API authentication for users. As a rule, I donβt like to encourage our users to share their user / email / password data with third parties. However, does oAuth use an acceptable / mature enough to work with mobile devices? The only people using oAuth for mobile apps apparently were Pownce, who seemed to have problems with the user, and anyway I no longer need to see how they dealt with this problem.
(Our user base is very non-technical, so I would expect 1% of what ever dealt with oAuth)
The selection is as follows:
- Ignore the problem with third parties and passwords
- Get developers to implement oAuth integration
- Try using something unfriendly (for example, using a secret key, not a password)
Did I miss something?
source
share