Federated Identity
Federated identity lets an application rely on a separate identity provider to authenticate a person or workload. The provider sends verifiable evidence, so the application can create its own session and make its own access decision without handling the original login credential.
itIdentity, access, and cryptography | OpenSkills.info
Course pathWalk it in order
Look it upDip in anytime
Go furtherLeaves this page
Don't Panic
Don't Panic: Federated Identity
Federated identity lets one service accept another party's authentication result. A subject signs in at an identity provider. The relying party receives verifiable evidence, validates it, creates a local session, and decides what the subject may do. This is not trust falling from the sky. It is trust arriving with paperwork and a strict reading list.
Keep the boundary clear. The identity provider, or IdP, authenticates the subject. The relying party, or RP, owns the application and its local authorization decision. A signed assertion can say who authenticated and under which conditions. It does not grant universal permission to rummage through the application like a raccoon with a badge.
Two protocol families dominate. SAML uses XML assertions and metadata, and remains common in enterprise single sign-on. OpenID Connect is an identity layer on OAuth 2.0, using an ID Token for authentication claims. OAuth access tokens are for delegated access to protected resources. They may look similar to ID Tokens in some deployments, but similar packaging is not similar purpose.
Validation is the real work. Check the trusted issuer, audience, signature, accepted algorithm, lifetime, redirect URI, state, nonce when used, and the token or assertion's intended context. A valid signature only says the evidence was not forged under that key. It does not say the evidence was meant for this RP, this transaction, or this resource.
Account mapping deserves suspicion. Store issuer plus subject identifier as the federated identifier. Email is an attribute, not a universal identity key. It can change, be reassigned, or mean different things at different providers. Claims and groups are inputs to local policy, so map them deliberately and deny malformed surprises.
Use the Practice Reference for the validation and lifecycle checklist. Do the Exercise to design an RP integration without collapsing sign-in, provisioning, sessions, and authorization into one optimistic blob. The Cheatsheet is the compact reminder: IdP authenticates, RP validates, RP authorizes, and every boundary needs configuration, observability, and a tested failure path.
Where this skill leads
Relevant careers
See how this topic contributes to broader role-level skill maps.
Sources
- https://pages.nist.gov/800-63-4/sp800-63c.html
Supports
- Federation roles, assertions, trust agreements, relying-party responsibilities, sessions, and attribute disclosure
- https://pages.nist.gov/800-63-4/sp800-63c/Federation/
Supports
- Federated identifiers as combinations of subject and issuer identifiers
- Federation lifecycle and attribute-disclosure requirements
- https://docs.oasis-open.org/security/saml/v2.0/
Supports
- SAML 2.0 core, bindings, profiles, metadata, conformance, and security-considerations specifications
- SAML 2.0 publication in March 2005
- https://openid.net/specs/openid-connect-core-1_0.html
Supports
- OpenID Connect identity layer, ID Tokens, claims, flows, issuer and subject identifiers, audience, nonce, and privacy
- OpenID Connect final publication in February 2014
- https://openid.net/specs/openid-connect-discovery-1_0.html
Supports
- OpenID Provider Discovery, well-known configuration, metadata, key location, and exact issuer validation
- https://www.rfc-editor.org/rfc/rfc6749.html
Supports
- OAuth roles, authorization code flow, endpoints, access tokens, client types, redirect URIs, and TLS requirements
- OAuth 2.0 publication in October 2012
- https://www.rfc-editor.org/rfc/rfc7636.html
Supports
- PKCE verifier and challenge binding for authorization code flows
- PKCE publication in September 2015
- https://www.rfc-editor.org/rfc/rfc9700.html
Supports
- OAuth security threats, authorization-code guidance, redirect protection, token privilege restriction, and replay defenses
- OAuth 2.0 Security Best Current Practice publication in January 2025
- https://www.rfc-editor.org/rfc/rfc8414.html
Supports
- OAuth authorization-server metadata and well-known metadata location
- OAuth metadata publication in June 2018
- https://www.rfc-editor.org/rfc/rfc7644.html
Supports
- SCIM identity and group management across domains and HTTP lifecycle operations
- SCIM publication in September 2015
- https://www.rfc-editor.org/rfc/rfc9449.html
Supports
- Demonstrating Proof of Possession for OAuth tokens and publication in September 2023
- https://github.com/kdeldycke/awesome-iam
Supports
- Curated discovery of identity projects including Keycloak, Authentik, ZITADEL, and OpenID Connect resources
- https://www.keycloak.org/docs/latest/server_admin/
Supports
- Keycloak identity brokering with external OpenID Connect and SAML identity providers
- https://www.authelia.com/integration/openid-connect/introduction/
Supports
- Authelia OpenID Connect provider integration documentation
- https://zitadel.com/docs/guides/integrate/login/oidc
Supports
- ZITADEL OpenID Connect application integration documentation
- https://developer.okta.com/docs/concepts/identity-providers/
Supports
- Okta external identity-provider and inbound federation configuration concepts
- https://learn.microsoft.com/en-us/entra/identity/enterprise-apps/saml-vs-oidc-decision-guide
Supports
- Microsoft Entra ID support for SAML 2.0 and OpenID Connect single sign-on
- https://docs.pingidentity.com/pingone/integrations/p1_set_up_saml_initiated_sso_to_oidc_app.html
Supports
- PingOne configuration of external IdP-initiated SSO for OpenID Connect applications
