Module 5 · Identity and Account Management · Lesson 40 of 42
Single sign-on and federation
LDAP, SAML, OAuth and OpenID Connect, and how one login reaches many apps.
In this lesson · about 18 minutes
- Explain SSO and federation
- Tell SAML, OAuth and OpenID Connect apart
- Describe LDAP's role in a directory
Single sign-on (SSO) lets a user log in once and reach many applications. Federation extends that trust across organizations: your company's identity provider vouches for you to a partner or a SaaS app, so you don't need a separate account there.
| Protocol | What it does | Exam clue |
|---|---|---|
| LDAP (port 389; LDAPS 636) | Queries and updates a directory of users and groups, such as Active Directory | "directory", "look up users and groups" |
| SAML | XML-based; an identity provider (IdP) sends a signed assertion to a service provider (SP) to log the user in. Common for enterprise web SSO | "assertion", "IdP and SP", "XML", "federated web SSO" |
| OAuth 2.0 | Authorization: lets an app access your data elsewhere without your password, using access tokens | "let this app access my calendar", "delegated access", "tokens" |
| OpenID Connect (OIDC) | An authentication layer on top of OAuth, using JSON web tokens | "Sign in with Google" |
| Kerberos | Ticket-based authentication inside Windows domains | "tickets", "KDC" |
Interoperability matters: SSO only works if the IdP and each app support a common protocol.
Sorting drill
Which protocol?
Match each situation to the protocol it describes BEST.
- A printing app asks permission to read files from your cloud drive
- Employees log into a SaaS HR system through the company IdP using signed XML assertions
- A help-desk tool queries Active Directory for a user's group memberships
- A website offers 'Sign in with Google' and receives an ID token about the user
0 of 4 sorted
Check your understanding0 of 3 correct
Quiz score: 0 of 3
Noviq Academy is free and for learning. This course is independent and is not affiliated with or endorsed by CompTIA. CompTIA and Security+ are trademarks of CompTIA, Inc. Exam details such as price and policies change; confirm them on CompTIA's website before you book.