You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following https://firebase.google.com/docs/auth/web/redirect-best-practices, it appears that our app should supply the current host as the authDomain. For development, we want to use localhost:3000. In bug #7233, it appeared that this should now support a value of localhost:3000, but when I tried it, it fails with an error because it tries to redirect to http*s*://localhost:3000/....
This appears to be because in packages/auth/src/core/util/handler.ts in getHandlerBase there is a hard-coded https in the URL, but localhost requires http.
Steps and code to reproduce issue
Use signInWithRedirect with an authDomain of localhost:3000. It will redirect to HTTPS.
MarkSFrancis, yhuang1211, andre-brdoch, CaptainCodeman, MasterScrat and 10 more