Re: [w3ctag/design-reviews] Incubation: IdP-Initiated FedCM (Issue #1184)

toreini left a comment (w3ctag/design-reviews#1184)

Dear @samuelgoto ,

Thank you for bringing this to us at an early stage of incubation, that is exactly what we encourage, and it lets us comment before anything is set in stone. 

We discussed this proposal in TAG sessions. We can see the appeal of moving federated redirect flows into browser-mediated FedCM UI without requiring every RP to redeploy, and of giving the user agent a high-level signal ("this navigation is a sign-in flow") instead of an opaque top-level redirect. That direction is broadly consistent with putting the user agent in a position to act on the user's behalf.

Before we can complete the review, we'd appreciate your thoughts on the following points.

(Minor housekeeping note: the explainer linked in this review request now redirects to https://github.com/fedidcg/idp-initiated, please update the link so reviewers land on the current text.)

## The bounce-tracking/link-decoration

The review request says this proposal "can remove one of the main blockers to combat bounce tracking." From our discussions, we were not able to work out how the proposal achieves this, and we'd like you to make the causal chain explicit in the explainer:

- Bounce-tracking mitigations themselves are specified elsewhere (https://privacycg.github.io/nav-tracking-mitigations/#bounce-tracking-mitigations). As we understand it, this proposal doesn't prevent bounce tracking; at best it preserves a legitimate use of redirect-shaped flows so that browsers can more aggressively act against the rest. If that is the claim, please state it explicitly, and provide evidence (e.g. from your Chrome deployments) that it actually clears the way at meaningful scale. Our sense is that this proposal is more helpful alongside deployed bounce-tracking mitigations, and considerably less helpful without them.
- The `redirect_to` URL is IdP-supplied and, as specified, could itself point at a tracking intermediary (e.g. `malicious-advertiser.example`, which then forwards the user to the RP). In that case the mediated flow does not reduce the opportunity for bounce tracking or link decoration. What prevents this?
- What is the fallback when interception fails: the header is malformed, the browser doesn't support it, or the `redirect_to` navigation fails? Does the flow fail closed, or fall back to the ordinary top-level redirect (reintroducing exactly the pattern the proposal aims to migrate away from)? An interrupted authentication ceremony that fails open would be probably worse than the status quo.

## Agent-mediated authentication

Your third motivation (turning federation "into a structured/programmable tool" for agentic browsers) is potentially foundational for how agents authenticate on users' behalf, and deserves careful, explicit treatment rather than being a side effect of this design:

- Authentication ceremonies driven by agents will fail in new ways (as humans already do). The important property is that they **fail closed**, returning control to the user, rather than failing open. Please specify the expected behaviour of the browser and IdP when an agent cannot complete a login.
- Which steps must remain under direct human control (account selection, permission grants, the FedCM prompt itself), and how is the user made aware that an agent, rather than they, initiated the flow? Delegating identity to software agents should be an explicit, scoped, and revocable user choice, consistent with the [Privacy Principles](https://www.w3.org/TR/privacy-principles/) on user control and identity.
- On the positive side: the same high-level, structured signal that helps agents could help human users of assistive technologies. We'd encourage you to explore that in the explainer.
  
  
## Multi-stakeholder input

The review request lists Mozilla and WebKit positions as "not yet." Because this extends FedCM, which currently has a single implementation, and could shape agent authentication across the platform, multi-implementer engagement matters here more than usual (https://www.w3.org/TR/ethical-web-principles/#multi). We are not holding this early review on their responses, but we'd ask you to request positions from the other engines (e.g. via their standards-positions repositories) concurrently with this review, and to link the feedback you've gathered from IdPs so far. Please also feed discussion outcomes with developers back into the FedID CG/WG so the whole group can see them.

We're happy to keep discussing any of these points as the design evolves.

## Explainer structure, threat model, and questionnaire

The explainer does not have an "Alternatives considered" section, as recommended by the
[Explainer Explainer](https://w3ctag.github.io/explainer-explainer/). It does discuss the JS SDK deployment path at length, and mentions in passing that you "looked at many different mechanisms (e.g. OPTIONS requests, CSP policies, DNS entries, etc.)" before settling on header-based navigation interception but it doesn't say *why* those were rejected. Please add a structured section documenting those trade-offs; we can't fully evaluate the design choice without them.

Relatedly, the [Security & Privacy Questionnaire](https://www.w3.org/TR/security-privacy-questionnaire/) has not been completed, the explainer's "Security Considerations" section is currently a list of open questions rather than an analysis, and the "Privacy Considerations" section covers only link decoration. In particular, the threat model does not state the trust assumptions for the actors involved (RP, IdP, user agent, and, given your third motivation, an agent acting for the user), or how malicious actors are mitigated. For example, what constraints apply to the `redirect_to` URL the IdP returns (origin restrictions, relationship to the original `redirect_uri`/`client_id`, cookie/`SameSite` semantics, CSP)? These are the questions your own Security Considerations section raises; we'd like to see proposed answers.

Thanks for bringing this to us. We look forward to hearing your thoughts on these considerations.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/1184#issuecomment-7307276498
You are receiving this because you are subscribed to this thread.

Message ID: <w3ctag/design-reviews/issues/1184/7307276498@github.com>

Received on Tuesday, 1 December 2026 09:51:05 UTC