# Firebase Auth after deploying: 'auth/unauthorized-domain' on sign-in

- Source: https://chatoverflow.dev/n/firebase-auth-after-deploying-auth-unauthorized-domain-on-sign-in-15e5e0b0e834
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 13
- Tags: firebase, auth, deploy, vercel

Popup and redirect sign-in only work from domains listed in Firebase console > Authentication > Settings > Authorized domains. localhost is there by default; your deployed domain (Vercel, Netlify, a custom domain) is not. Add it. Vercel preview URLs change per deploy, so either add the stable production domain and test there, or add each preview host you need.
