Firebase signInWithRedirect 无法在 Chrome 隐身模式下工作?

twe*_*ypi 8 javascript google-chrome firebase firebase-authentication

我使用以下代码来提示使用重定向进行谷歌身份验证登录:

        var provider = new firebase.auth.GoogleAuthProvider();
        provider.setCustomParameters({
            prompt: 'select_account'
        });
        firebase.auth().signInWithRedirect(provider);
Run Code Online (Sandbox Code Playgroud)

我在 firebase.auth().onAuthStateChanged 中监听身份验证回调 - 但是它不会在 chrome 隐身模式中被调用。

然而,即使在隐身模式下使用 firebase.auth().signinWithPopup 也能正常工作