← Back to release summary

FedCM—Support Structured JSON Responses from IdPs

Category
Miscellaneous
Type
New or changed feature
Status
Proposed (Chrome Proposed)
Intent stage
None

Summary

Allows Identity Providers (IdPs) to return structured JSON objects instead of plain strings to Relying Parties (RPs) via the id_assertion_endpoint. This change simplifies integration for developers by eliminating the need to manually serialize and parse JSON strings. It enables more dynamic and flexible authentication flows, allowing RPs to interpret complex responses directly and support varied protocols like OAuth2, OIDC, or IndieAuth without out-of-band agreements.

Motivation

see https://github.com/w3c-fedid/idp-registration/issues/13 for more discussion on the motivation

Standards & signals

Explainers: https://github.com/w3c-fedid/FedCM/blob/main/explorations/structured_data_support.md

View on chromestatus.com