← Chrome 148 reference

v148 · origin trial · fedcm · identity · agentic browsing

Agentic Federated Login

A set of FedCM extensions that let an agentic browser (an AI-driven browser agent acting on behalf of a user) log the user in to websites using their existing federated identity — without requiring the user to manually navigate a login flow. The embedder (the agent) initiates the credential request; the user still controls consent through their identity provider.

Origin trial Agentic Federated Login is in origin trial on desktop from Chrome 148 through Chrome 154. The trial is intended for agentic browsing contexts and is not enabled for regular (non-agentic) browsing sessions. Register at developer.chrome.com/origintrials to get a token. DevTrial is also available in Chrome 148.

at a glance

Origin trialChrome 148 – 154 (desktop: Windows, Mac, Linux, ChromeOS)
StatusOrigin trial (Experiment)
Builds onFedCM (Federated Credential Management API)
Explainerw3c-fedid/agentic-federated-login — GitHub
ChromeStatus5141084139290624 — Agentic Federated Login (API record)

why it exists

Standard FedCM is designed for user-initiated login: the user clicks a "Sign in with Google" button, the browser shows a prompt, the user picks an account. Agentic browsers — AI agents that browse the web autonomously on a user's behalf — cannot replicate this user gesture flow. Without a structured mechanism, an agentic browser would either be unable to log the user in at all, or would resort to filling login forms programmatically (bypassing privacy protections). Agentic Federated Login extends FedCM so that an embedder (the agentic context hosting the browsing session) can initiate a credential request on behalf of the user. The identity provider still controls the user experience and can prompt for explicit consent. Chrome monitors for false positives and false negatives, degrading gracefully by stopping the agent and handing control back to the user when issues are detected.

Source: blink-dev Intent to Experiment: Agentic Federated Login; GitHub explainer w3c-fedid/agentic-federated-login; fedidcg/idp-initiated proposal; May 2026.

how it works

Agentic Federated Login introduces an embedder-initiated call path into FedCM. In normal FedCM, the RP (relying party web page) calls navigator.credentials.get({ identity: … }). In agentic contexts, the embedder can trigger an equivalent flow without a user gesture on the RP page, subject to IdP and user consent policies.

Key extensions

ConceptDescription
Embedder-initiated login The browser agent (embedder) calls the login flow rather than the page's own JS. The call uses the same FedCM IdentityCredential API shape.
IdP consent gate The identity provider's accounts_endpoint and id_assertion_endpoint responses can signal whether agentic login is permitted for a given user/account.
Graceful degradation If false positives are detected (wrong account, suspicious context), Chrome stops the agent and surfaces a manual login prompt.
Finch feature name FedCmEmbedderInitiatedLogin
Source: blink-dev Intent to Experiment — Agentic Federated Login, May 2026.

relationship to FedCM

Agentic Federated Login is built on top of the existing FedCM API. Relying parties and identity providers that already support FedCM require minimal changes; the new surface is primarily in how the browser initiates the flow (embedder-driven vs. page-script-driven). Identity providers that want to support agentic login explicitly can signal this in their FedCM configuration endpoints. For web developers building RPs, the API shape is the same navigator.credentials.get() call — you do not need to modify existing FedCM code to be compatible.

Source: w3c-fedid/agentic-federated-login explainer; W3C FedCM specification, May 2026.

examples

The RP-side JavaScript call uses the standard FedCM navigator.credentials.get() shape; the embedder-initiated flow distinguished above composes the same credential request without RP navigation, so this example illustrates that shared request shape:

// RP FedCM request shape (the same one the embedder-initiated flow composes)
const credential = await navigator.credentials.get({
  identity: {
    providers: [{
      configURL: "https://idp.example/fedcm.json",
      clientId: "client-id-12345"
    }]
  }
});

Conceptual pseudo-code (every helper below is illustrative, not an exposed page API): when an autonomous browsing agent encounters a false-positive account signal or anomalous session context during embedder-initiated login, the graceful degradation mechanism halts agent execution and surfaces a manual user login prompt:

// Conceptual pseudo-code - graceful degradation: halt autonomous action, fall back to manual login
async function runAgenticLoginWithFallback(embedderLoginFn) {
  try {
    const credential = await embedderLoginFn();
    // Page-local pseudo-code: detectAnomalousContext stands for the engine's
    // false-positive / anomalous-context detection described in the mechanism section.
    if (!credential || detectAnomalousContext(credential)) {
      // Detected false positive or anomalous context: stop autonomous agent action
      stopAgentAndPromptManualLogin({ reason: 'anomalous_context' });
      return null;
    }
    return credential;
  } catch (error) {
    // Graceful degradation: halt autonomous agent action and prompt user for manual login
    console.warn('Embedder-initiated login failed; halting agent for manual user login:', error);
    stopAgentAndPromptManualLogin({ reason: 'login_failed' });
    return null;
  }
}
Source: blink-dev Intent to Experiment: Agentic Federated Login (Security and graceful degradation mechanism).

browser support

BrowserSupport
Chrome 148 – 154 (desktop only)Origin trial (agentic contexts)
FirefoxNo position
SafariNo position
Source: chromestatus.com feature page; webstatus.dev FedCM; BCD IdentityCredential, May 2026.

see also