demo · v148

Login Flow Walkthrough

A visual play-through of the agentic FedCM exchange. Click "step" to advance one stage at a time and watch the messages move between the three actors: the relying party, the user's agentic browser, and the identity provider.

Backend-backed The stepper explains the agentic flow. The trace button calls the live showcase FedCM IdP endpoints: config, accounts, client metadata, assertion, and validation.

relying party

example.shop

agentic browser

User agent

identity provider

accounts.idp.example
Browser API probe has not run yet.
No endpoint trace yet.
  1. User agent navigates the agent to example.shop/checkout. The page renders a <login> element advertising "Sign in with IDP".
  2. The agent decides login is required. It calls navigator.credentials.get({ identity: {...} }) with the relying party's preferred IDP.
  3. Browser asks IDP for the user's available accounts. IDP returns the accounts the user has at this IDP (or "I haven't seen you").
  4. Browser shows the FedCM dialog. In the agentic flow, the dialog is annotated so the agent can read it programmatically (no DOM scraping).
  5. User picks an account (or the agent picks one on their behalf, given prior consent). Browser asks IDP for an ID token.
  6. Browser returns the ID token to example.shop. The site verifies it and the agent continues the checkout.

what's new vs current FedCM

see also

implementation reference

Need the exact API surface, compatibility boundaries, errors, lifecycle, and source links? Read the matching gendn reference ↗