Objective 5.3
Federated identity
What it is
Federation means you trust another organization to tell you who someone is. The person authenticates at home, at their own employer or identity provider, and your application accepts a signed assertion instead of keeping their password. Single sign-on, SSO, is the user experience of signing in once and reaching several systems. Standards such as SAML and OpenID Connect are common ways to pass that trust. They are envelopes and rules, not magic. You still decide what you will believe and which attributes, such as group or email, you will use for access.
Why it matters
Federation reduces password sprawl and lets partners work without you provisioning a second password you cannot revoke when they leave their own company. It also concentrates risk. If the identity provider is down or fooled, many doors open or close together. You must know who is authoritative. Accepting any passerby's claim because the button says “log in with...” is not federation. It is naivety. Contracts and technical trust, usually certificates, should match.
A simple example
A university lets city-library patrons in because the library vouches for them. The university does not collect a new password. If the library fires a patron and tells the university through the federation, access should stop. If anyone can stand up a fake library and the university trusts it, the design is wrong. The library remains responsible for proving the person. The university remains responsible for what that person may do inside the university.
On the exam
Federation answers authentication across organizations. Authorization is still yours. A common trap is giving every federated user the same powerful role because the assertion only says they are an employee. Map attributes carefully. Another trap is keeping local passwords “as backup” with no controls, which recreates the mess federation was meant to end. Availability of the identity provider is now a business dependency.
Words worth keeping
- Federation
- Trusting another organization's identity proof so users do not need a separate password.
- Identity provider
- The system that authenticates the user and issues the claim other systems trust.
- SSO
- One authentication used to enter multiple systems during a session.