Advanced OpenID Connect
OpenID Connect extensions for claims from other sources, protected messages, third-party initiated login and backchannel authentication.
Start with Combining claims from multiple sources
Aggregated and distributed claims
Claims from another source, either signed by that source and carried in the provider's response, or fetched from it with a reference the provider supplies.
- Combining claims from multiple sourcesSee how an OpenID Provider passes on another claims provider's statement, either as a signed JWT or as a reference to fetch it, using _claim_names and _claim_sources.
- Validating aggregated and distributed claimsValidate a claims provider's JWT, embedded or fetched, decide whom to trust for what, check an endpoint before calling it, and handle failures without breaking sign-in.
Signed and encrypted messages
Signing and encrypting ID tokens, UserInfo responses and requests, and choosing which messages need it.
- Choosing which messages to protectDecide which OpenID Connect messages to sign, encrypt, or both, by asking who reads each one along the way and who needs to verify it afterwards.
- Signing and encryptionPublish an encryption key, register signing and encryption algorithms, and read a nested JWT: a signed UserInfo response encrypted with JWE, part by part.
- Key selection and validation failuresOpen a signed and encrypted message with the right keys in the right order, reject algorithm mismatches, rotate encryption keys safely, and fail without giving clues.
Third-party initiated login
Starting a sign-in from somewhere other than the application, such as a portal or launcher.
- Starting sign-in from another serviceSee how a provider's Applications page asks a relying party to start sign-in with iss, login_hint and target_link_uri, and how the relying party checks each value before starting a fresh sign-in.
Backchannel authentication (CIBA)
Client-initiated backchannel authentication: approving a sign-in on your own device when the application is somewhere else.
- Separating the consumption and authentication devicesMeet Client-Initiated Backchannel Authentication at a poster kiosk in a print shop, where Ava uses one device, approves on her own phone, and the client asks the provider to reach her.
- Following a CIBA exchangeFollow the kiosk's backchannel authentication request, its auth_req_id acknowledgement, Ava's approval on her phone, and the CIBA grant that collects the ID token at the token endpoint.
- Poll, ping, and push modesCompare the three ways a CIBA result reaches the client: polling the token endpoint, a ping notification, or tokens pushed to the client, and see why many deployments avoid push.
- Binding the authentication to the requestSee why a CIBA request that anyone can aim at Ava's phone needs binding messages, user codes, and better hints, and what each one protects against.