OpenID Connect

OpenID Connect as a secure system for verifying the identity of an end user.

Dec 5, 20242 min read

OpenID Connect (OIDC for short) is an open authentication protocol that uses the authorization and authentication mechanisms of OAuth 2.0.

OIDC was developed by the OpenID Foundation, which includes companies such as Google and Microsoft.

While OAuth 2.0 is an authorization protocol that only grants permission to access resources, OIDC is an identity authentication protocol. It is used to verify a user's identity to a client service (also called a relying party).

End users can use OIDC to authenticate themselves across different apps and websites using single sign-on (SSO). For example, a Google account can be used to sign in to Spotify. Google is the OpenID provider (OP for short) and Spotify is the Relying Party (RP). A possible authentication process then looks like this.

The aforementioned authentication and authorization process is carried out with the help of an access token and an ID token.

OpenID Connect adds an additional layer of security to the authentication process and improves the user experience. Some of the key benefits of OIDC are: