Beta

Create a tenant

A new tenant starts with its own users, OAuth settings, audit history and logs. You are its first Tenant Admin.

How browser privacy changes affect federation

Older federation techniques quietly relied on a provider's cookies travelling inside another site's page. Browsers now block or partition those third-party cookies, so the collage app's silent sign-in and logout signals stop working unless it moves to top-level redirects and server-to-server messages.

What federation borrowed from the browser

The first version of the collage app, at collage.example, kept its tokens in the browser. Access tokens lasted ten minutes, and when one ran out the collage app asked the photo service for another without bothering Ava. It did that with a hidden frame: a small invisible iframe whose address was an ordinary authorization request with prompt=none, which Prompt and account selection described as a request that must not show a page. If Ava was still signed in at auth.photos.example, the frame came back with a fresh code. For two years that worked in every browser the collage app's developers tested.

Then support tickets started arriving from people who used Safari. They were signed out of the collage app about ten minutes after opening it, every time, although the photo service itself still showed them as signed in. Nothing in the collage app's code had changed. The browser had.

The silent frame depended on one thing the collage app's developers never wrote down: that the browser would send the photo service's session cookie with a request made from inside a page on another site. Several older federation techniques lean on the same assumption. As Front-channel logout and browser session checks showed, the OpenID Connect session check frame reads the provider's state from inside the relying party's page, and front-channel logout loads each relying party's page in a frame inside the provider's page. In each case one site's cookies travel inside another site's page, which is exactly what makes them third-party cookies. As What browsers add explained, the browser compares sites by registrable domain: collage.example and photos.example are different sites, so inside the collage app's page the photo service is a third party.

Blocking and partitioning

Third-party cookies are also how advertising networks follow people from site to site, and browsers have spent years taking that ability away. They do it in two ways. Blocking withholds a third party's cookies entirely. Partitioning gives the third party a separate cookie jar for each top-level site it appears on, so the photo service framed inside collage.example gets a jar keyed to collage.example, empty unless something set a cookie there before. Its real session cookie, set when Ava signed in at the top level, lives in the jar for photos.example and stays there.

Either way, the framed request reaches the photo service with no session cookie. The defaults differ by browser and keep moving, so treat the table as a snapshot:

Third-party cookies by default, status in October 2026
BrowserDefault for third-party cookies
SafariBlocked, with no setting to allow them for a site
FirefoxPartitioned for every site (Total Cookie Protection), with stricter blocking available
Chrome and EdgeSent, unless the person blocks them in settings; blocked in private browsing. Google dropped its plan to remove them in 2025.

Storage follows the same rule in every current browser. localStorage, IndexedDB and similar storage inside a cross-site frame are partitioned by the top-level site, so a framed page cannot read what its own site stored at the top level either.

A newer cookie attribute, Partitioned, lets an embedded service ask for a partitioned cookie on purpose in browsers that would otherwise block it. It is often mentioned under the name of its proposal, CHIPS. It helps a chat widget remember its state on one site, and it does nothing for federation: a partitioned cookie is, by design, a different cookie on every site, so it can never carry a session that began on the provider's own pages.

The Chrome row matters less than it looks. A relying party serves everyone who arrives, including the many people on Safari, on Firefox, in private windows and with cookies blocked by choice. A design that works only where third-party cookies happen to flow is broken for a large share of its users today.

Silent sign-in in a frame

Here is the collage app's renewal request as the photo service received it from a Safari user who was signed in:

http
GET /oauth/authorize?response_type=code&client_id=photo-collage
    &redirect_uri=https%3A%2F%2Fcollage.example%2Fsilent-callback
    &scope=openid%20photos.read&state=k3Jq9w&prompt=none
    &code_challenge=E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM&code_challenge_method=S256 HTTP/1.1
Host: auth.photos.example
Sec-Fetch-Dest: iframe
Sec-Fetch-Site: cross-site

The query string is split across lines for reading. The headers say the request came from a frame on another site, and one header is missing: there is no Cookie. The photo service cannot see any session, and prompt=none forbids it from asking, so it answers exactly as the specification says it must:

http
HTTP/1.1 302 Found
Location: https://collage.example/silent-callback?error=login_required&state=k3Jq9w
    &iss=https%3A%2F%2Fauth.photos.example

From the collage app's side, login_required means Ava is signed out, so it threw away its tokens and showed its sign-in button. Ava was never signed out. The answer was correct for the request the provider received; the request simply did not carry what the collage app assumed it did.

The same silent request from a hidden frame and from the top level. Only the top-level request carries the photo service's session cookie.

The same request works when it is not in a frame. If the collage app sends the whole tab to the authorization endpoint, the photo service is the site in the address bar, its cookie is first-party, and even a SameSite=Lax cookie is sent with a top-level navigation. With an existing session the photo service redirects straight back with a code, usually in well under a second, so people see a brief flash at most. Many providers also refuse to be framed at all, sending X-Frame-Options: DENY or a frame-ancestors rule to protect their sign-in pages from clickjacking, where another site shows a provider page in a hidden or disguised frame and tricks the person into clicking on it. That ends the frame approach before cookies even come into it.

Logout signals that stop arriving

Logout suffers in the opposite direction. Front-channel logout puts the relying parties' logout pages in frames inside the provider's signed-out page, so now the relying parties are the third parties. Front-channel logout showed how a relying party's logout page would receive no cookie and see an empty, partitioned copy of its storage, and how it can still end Ava's session if it looks sessions up by the iss and sid in the request. An application that keeps its session only in the browser has no such fallback.

The session check frame is worse off. Its whole job is to read the provider's browser state from inside the relying party's page, and with blocking or partitioning that state is simply not there, so the frame reports a change, or no session, on every check. Session management already called itself rarely used for this reason. Neither logout signal fails loudly: a frame that loaded nothing looks much like one that succeeded, which is why these failures surface as support tickets rather than errors.

The Storage Access API

Browsers do offer an escape hatch for embedded content that genuinely needs its own cookies. With the Storage Access API, a page inside a frame asks the browser for access to its unpartitioned cookies:

js
button.addEventListener('click', async () => {
  if (!(await document.hasStorageAccess())) {
    await document.requestStorageAccess();
  }
  // From here, requests from this frame carry the provider's own cookies.
});

The call must come from a click or a tap inside the frame, and the browser decides. Safari grants access only to a site you have used as a top-level site before, and it may ask you to confirm; Chrome and Firefox apply their own rules and prompts. Safari, Firefox and Chrome all support the API.

Those conditions are reasonable for an embedded document editor or a comment box that you click on anyway. They do not fit sign-in plumbing. A token renewal has to happen silently, with nobody clicking anything, and a logout frame has nobody to ask at all. The Storage Access API can rescue a visible embedded sign-in button, not the invisible machinery behind it.

FedCM

Federated Credential Management, or FedCM, takes the opposite approach. Instead of letting cookies cross between sites, the browser itself runs the step that needed them. The relying party asks the browser for a sign-in from a named provider:

js
const credential = await navigator.credentials.get({
  identity: {
    providers: [{
      configURL: 'https://auth.photos.example/fedcm/config.json',
      clientId: 'photo-collage',
    }],
  },
});
// credential.token holds what the provider issued, such as an ID token.

The browser fetches a small file at https://photos.example/.well-known/web-identity to confirm the configuration belongs to the provider's site, reads the configuration, and then calls the provider's accounts endpoint with the provider's own cookies. It shows the accounts in its own dialog, outside both sites' pages. Only after Ava picks one does it ask the provider's assertion endpoint for a token and hand that token to the collage app. The provider never learns which site asked until Ava agrees, and the collage app never touches the provider's cookies.

FedCM changes who renders the account choice, not what the relying party must check. The token that arrives is validated exactly as Validating an ID token describes, including a nonce the relying party supplies, which the provider places in the token. The provider has to build the FedCM endpoints, and support is uneven:

FedCM support, status in October 2026
BrowserFedCM
Chrome and EdgeSupported
FirefoxNot shipped; work in progress
SafariNot supported

The API is still being standardized at the World Wide Web Consortium (W3C), the body that publishes web standards such as WebAuthn, and has changed between browser versions. A relying party can offer it where it exists, but it still needs a redirect-based sign-in for every other browser, so FedCM adds a path rather than replacing one.

Bounce tracking mitigations

Blocking third-party cookies pushed trackers toward a workaround: send the browser through the tracker's own site for a split second, where its cookies are first-party, and straight back again. Browsers answered with bounce tracking mitigations. Safari, Firefox and Chrome each watch for sites that appear only in redirect chains, and periodically delete the storage of a site you have not interacted with directly within a recent period, such as the last month and a half.

A federated sign-in is a redirect chain, so it is worth knowing what counts. A provider where people type passwords or approve passkeys has plenty of interaction, because signing in is interaction, and keeps its cookies. The risk falls on sites that only ever bounce: a federation hub that forwards each person to their organization's provider without showing a page, or a provider whose sessions people only ever reach silently from other sites. If such a site's cookies are cleared, people find themselves asked to sign in again, or to choose their organization again, with no obvious cause. A step where the person acts on the site's own page, such as remembering their choice of organization, keeps it in the clear.

What a relying party should do instead

The collage app's developers rebuilt it around the backend described in OpenID Connect in single-page and native apps, and each change replaced one browser assumption with something that holds in every browser:

Replacing patterns that depend on third-party cookies
Pattern that breaksReplacementWhy it holds
Renewing tokens with prompt=none in a hidden frameRefresh tokens held by the backend, as in Backends for frontendsThe renewal is a server-to-server request; no browser cookie is involved
Checking for a provider session with a silent frameA top-level redirect with prompt=none when the app opensThe provider is first-party in the address bar
Front-channel logout or the session check frameBack-channel logout, with sessions found by sidThe provider calls the relying party directly
An embedded sign-in widget that reads the provider's cookiesA redirect, or FedCM where the browser supports itThe browser, not a frame, handles the provider's state
Tokens kept in localStorage and shared with a frameA server-side session behind an HttpOnly cookie on the app's own siteFirst-party cookies are not affected, and scripts cannot read the token

An organization whose own applications and provider share one registrable domain, like the Lantern Studio portal and its provider under lantern.example, sees fewer of these problems, because its frames are same-site. That is a fact about one deployment, not a design that carries over to relying parties on other domains, and it does nothing for bounce tracking or for people who block all cookies.

The common thread is to treat the provider's session cookie as something only the provider sees, at the top level. A relying party learns about that session by sending the browser to the provider and reading what comes back, and learns that it ended by listening on its own server. Nothing it depends on then needs one site's cookie inside another site's page.

Check your understanding

Try these questions before moving on. If an answer isn't right, use the feedback and try again.

The collage app renews tokens with a hidden frame that sends prompt=none to the photo service. Safari users are signed out of the collage app after ten minutes, although the photo service still shows them as signed in. What is happening? 1 of 3

Choose one answer.

The collage app must end Ava's session whenever she signs out at the photo service, in every browser. Which approach does that? 2 of 3

Choose one answer.

With FedCM, the collage app signs Ava in through the photo service even though Ava's browser blocks third-party cookies. What makes that possible? 3 of 3

Choose one answer.

Try it in the Lab

We value your privacy

We use cookies and similar technologies to enhance your browsing experience, and analytics to understand our traffic. By clicking "Allow all", you consent to optional analytics. Cookie Policy

Learn identity