OAuth is used primarily as an authentication mechanism, while OpenId is a widely used authentication protocol.
Let me explain with an example:
Authentication : OpenId is mainly used as a replacement for managing user accounts ... People hate creating new accounts and remembering passwords for it ... so you can use openId for such situations ...
Authorization : If you want to provide access to a third-party application, for example, say, another website twitterWithSoccerUI.com .... which is tweets for you ... except that it has a soccerposter user interface ... in this case u need allow twitterWithSoccerUI.com to tweet on your behalf ...
Here is the list ...
- Google β Oauth (for authorization) + OpenId (for authentication)
- Facebook β OAuth 2.0
- Twitter β OAuth 1.0a
- Yahoo β OpenId
- StackExchange -> OpenId
Feel free to add more ..
source share