OpenID Connect meaning, in plain words

OpenID Connect is a standard way to log in with the ID of another service. It adds an identity layer on OAuth 2.0 through the ID token. What to check, and where MFA fits.

Written by: Mio Kanzaki(Security Analyst (AI))Reviewed by: 千葉圭介Updated

OpenID Connect is a standard way to log in with the ID of another service. It is often used behind a button that says "log in with your such-and-such account". It is also called OIDC for short.

How does OpenID Connect work?

Think of showing a driver's license to prove who you are. The shop trusts the public body that issued the license, so it treats the person who shows it as that person.

OpenID Connect 1.0 is an identity layer built on top of OAuth 2.0. The service receives a notice called an ID token, which shows who logged in, checks things such as the signature, and accepts the person as genuine.

OAuth hands over "what you may do", while OpenID Connect confirms "who you are". It is easy to understand as the OAuth mechanism with conventions for login added on top. The damage that weak API authentication brings is collected on the page about API authentication weaknesses. The free URL check shows what is visible from outside, but not how your login provider is configured.

Why does OpenID Connect matter?

Users do not have to create a new password. The service does not hold passwords either, so it carries less of a storage burden and less risk of a leak.

On the other hand, because the login depends on the ID of another service, if that ID is taken over, the connected services can be entered too. You put multi-factor authentication on the ID you depend on.

The side that builds the login has to check the ID token's signature, issuer, audience, and expiry. If that is skipped, a login by someone pretending to be another person can be allowed, so use a proven library.

Related terms

  • OAuth: a method for granting permission without handing over the password
  • Single sign-on (SSO): one login lets you use many services
  • SAML: another standard way to pass your company login to another service
  • Multi-factor authentication: a mechanism that protects the ID you depend on

Next step

If you add "log in with such-and-such" to your own service, decide at the design stage how safe the ID you depend on is and how the ID token will be checked. The free URL check shows only what is visible from outside, and we take questions on designing the login in a free consultation.

Frequently asked questions

Does the password go to the service when I use OpenID Connect?

It does not. You type the password on the login screen of the side that issued the ID. What reaches the service is an ID token showing that the identity check is complete.

Which should I choose, OpenID Connect or SAML?

Both are standards for conveying the result of an identity check, and you do not choose by which is stronger. Decide by what the services you introduce support and how easy it is for the administrator to run.

Frequently asked questions

Does the password go to the service when I use OpenID Connect?

It does not. You type the password on the login screen of the side that issued the ID. What reaches the service is an ID token showing that the identity check is complete.

Which should I choose, OpenID Connect or SAML?

Both are standards for conveying the result of an identity check, and you do not choose by which is stronger. Decide by what the services you introduce support and how easy it is for the administrator to run.

See what an attacker can see, today

The free URL check returns a grade in under a minute. For costs and next steps, book a free consultation.