web-platform-tests / web-platform-tests/interop

Federated Credential Management (FedCM) API

Open
#1,380 0 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

investigation-effort-proposal
Dominant language
JavaScript
Stars
524
Forks
35
Avg merge
1d 4h
Merged PRs (30d)
10

Description

Description

The FedCM API allows websites to verify the identity of users via third party websites.

Rationale

Using third party websites for authentication is a common and legitimate way to perform user verification, but right now it requires a lot of hacks where cookies, redirects, and iframes are abused. Those same methods are also used for abusive/illegal tracking of users.

Support for the FedCM API would drastically improve the developer experience and user experience of building and using login flows. It would also allow browsers to tighten security around abusive trackers, since they would no longer have to leave intentional holes in the security that are required for login flows today.

I am proposing this as an investigation effort proposal because there are comments from Mozilla that they do not agree with the existing FedCM API, and they have created new specs that they think are more suited for broad adoption by browsers.

Signals to back up my claims:

Message of support in Webkit standards positions:
https://github.com/WebKit/standards-positions/issues/309#issuecomment-3957066944

Message of support in Mozilla standards positions:
https://github.com/mozilla/standards-positions/issues/618#issuecomment-2473003004

Developer signals feature with 41 likes:
https://github.com/web-platform-dx/developer-signals/issues/208

Focus area proposal from 2026:
https://github.com/web-platform-tests/interop/issues/1098

Investigation Roadmap

The purpose of this investigation effort would be for browser vendors to review the proposed changes and agree on a final specification for FedCM that could then be implemented later, maybe as an interop focus area in 2028.

Current specification:
https://w3c-fedid.github.io/FedCM/

Proposed alterations to specification:
https://github.com/fedidcg/LightweightFedCM

Current WPT tests:
https://wpt.fyi/results/fedcm

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the current FedCM specification and the proposed LightweightFedCM alterations, then review the current WPT results at wpt.fyi/results/fedcm. Done means browser vendors agree on a final FedCM specification suitable for later implementation or an interop focus area.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, authentication, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.