What “missing initial state” means

The full message names its own likely cause: “Using signInWithRedirect in a storage-partitioned browser environment.”

Firebase’s docs say redirect sign-in needs one of five setups on browsers that block third-party storage access: “Starting June 24 2024, implementing one of the options will be required for redirect sign-in to work on Google Chrome M115+.” The documented options are a same-origin authDomain (Firebase Hosting on your domain, or a proxy of /__/auth/), popup sign-in, self-hosted helper files, or handling provider sign-in yourself. (redirect best practices, read 24 Oct 2026, can change)

FAQ

What if it doesn’t work for me?

On Cloudflare Workers, it works or you get your money back within 14 days. Our refund policy says: “Works or your money back. If within 14 days you've followed the pack and Google's sign-in still doesn't show your domain, email support with your re-check link. We'll help you fix it, and if we can't, we refund you in full.” It covers apps served by Cloudflare Workers, the hosting setup we’ve tested, and sits alongside your rights under UK consumer law. Full terms: https://pewterkit.com/refunds

Do I need to be a developer?

Your fix pack has a paste-ready prompt for your AI builder, the exact snippet we tested, and a re-check that runs the free check on your app again, so you can see the name Google’s sign-in shows after your change.

Is the check safe?

It’s read-only. It reads your public page and its same-origin scripts, the same page any visitor can open, and sends no cookies. It never asks for a sign-in, a password or access to your accounts.

Which hosts does it cover?

Cloudflare Workers on your own domain. In our lab on Cloudflare Workers, Google’s sign-in showed our own domain (re-checked 24 Oct 2026). A workers.dev address can’t show your own domain at sign-in. You need a domain you own. On Cloudflare Pages, Firebase Hosting, Vercel or Netlify, run the free check, pick your host and leave your email: we’ll email you once when yours is ready.

What’s in the fix pack?

It’s built from the check we ran on the domain you entered: the exact snippet we tested for your host, the two console settings to change with the click path to each, a paste-ready prompt for your AI builder, and a re-check. One-time payment, no subscription.