OpenID Connect (or commonly known as OIDC) is an authentication layer that leverages OAuth 2.0. It is useful when you do not want to setup your own authentication in an application but instead, you want to use Facebook, Google or Github.

OIDC is done using Authorisation Code where you provide a scope, redirect URL, the code is being returned to your backend where it exchanges it for ID Token and Access Token.