views:

518

answers:

3

Should I use oAuth, for example LinkedIn or Twitter, as my signin mechanism for my app? It seems that most apps just use oAuth to connect other services to it, but they make you set up your own user/password after you use oAuth (including StackOverflow), and I'm not really sure why this is. Would love some insight here. Thank you.

+1  A: 

Why not use OpenId, to allow people to sign into your application, without having to type any specific login/password ?

Quoting the corresponding wikipedia entry :

OpenID is an open, decentralized standard for authenticating users which can be used for access control, allowing users to log on to different services with the same digital identity where these services trust the authentication body.
OpenID replaces the common log on process that uses a login-name and a password, ...


BTW, that's exactly how one logs-in on stackoverflow ;-)

Pascal MARTIN
Well I do need the information provided by the oAuth provider anyway, so I'm asking do I need another login or is that good enough?
novaurora
+1  A: 

OAuth purpose is not authenticating your users with your site, is letting your users allow you (the oauth consumer) access to their protected resources in other sites (oauth providers) like LinkedIn, Twitter, Google APIs etc.

For authentication, you should use OpenId as others have pointed

Pablo Fernandez
A: 

Twitter provides a Sign in with Twitter flow that is OAuth but provides a faster redirect if it is an existing user of your service and they are already authenticated with Twitter.

http://apiwiki.twitter.com/Sign-in-with-Twitter

If you are building a Twitter centric application this makes a lot of since to use and you won't have to implement an entire alternate authentication method like OpenID.

Be careful if you let users authenticate with both Twitter and LinkedIn as users will inadvertently create two accounts and need them to be merged.

abraham