Differences between OpenID and OAuth

Q

What are the differences between OpenID and OAuth?

✍: FYIcenter.com

A

Here is the main difference between OpenID and OAuth:

  • OpenID is an open standard for authentication - Allows users to be authenticated to a Website using a third-party identify management service.
  • OAuth is an open standard for authorization - Providing access delegation, commonly used as a way for Internet users to grant websites or applications access to their information on other websites but without giving them the passwords

Here is a diagram that shows how OpenID is used to authenticate a user with Google as an identity provider and OAuth is used to authorize a user to run a Google API, getting user's profile for example:

Differences between OpenID and OAuth
Differences between OpenID and OAuth

 

OpenID Connect Authentication Flows

OpenID Usage Statistics

Introduction to OpenID

⇑⇑ OpenID Tutorials

2021-03-21, 1363🔥, 0💬