Domain 5/5.6 Implement authentication systems
Gonzalo, the lead engineer at a food delivery app, already uses OAuth 2.0 to call partner APIs and now needs to verify who the end user is and obtain their basic profile, such as name and email. Which authentication system BEST fits this need?
- AWS-Federation
- BOpenID Connect
- CKerberos
- DOAuth 2.0
Show the answer
Correct answer: B. The question asks which system adds user identity to existing OAuth 2.0. The clue is an app that "already uses OAuth 2.0 to call partner APIs and now needs to verify who the end user is". OIDC (OpenID Connect) is an identity layer built on top of the OAuth 2.0 framework; it lets third-party applications verify the identity of the end user and obtain basic user profile information.
- A. Incorrect. WS-Federation is a separate federation standard offering authentication and authorization; it is not an identity layer on OAuth 2.0.
- B. Correct. OIDC is an identity layer built on OAuth 2.0 that lets applications verify the end user and obtain basic profile information.
- C. Incorrect. Kerberos provides single sign-on inside a network with tickets from a key distribution center, not identity on top of OAuth 2.0.
- D. Incorrect. OAuth 2.0 on its own provides delegated resource access, not verification of who the end user is; an identity layer is needed on top.