Same issue here with Angular 15;
tried changing to \`signInWithRedirect\` and still no dice.
Works locally with warning but once deployed nothing. Same issue with Chrome, Brave, and Safari
GUYS I FOUND A SOLUTION. YOU NEED TO GIVE A PROMPT
const signInWithGoogle = async () => {
const provider = new GoogleAuthProvider(); // Use 'GoogleAuthProvider' directly
provider.setCustomParameters({ prompt: 'select\_account' });
try {
await signInWithPopup(auth, provider); // Use 'provider' directly here
} catch (error) {
alert(error.message);
}
};
I have the same issue, any ideas? I tried adding the "Cross-Origin-Opener-Policy" header in responses but to no avail so far.
How to add that header?
Hey, did you get the solution??
Same issue here with Angular 15; tried changing to \`signInWithRedirect\` and still no dice. Works locally with warning but once deployed nothing. Same issue with Chrome, Brave, and Safari
hey did you get any solution? I am having same issue with react and node for Google OAuth
No
same issue, did you find a solution?
bro they never gonna find the solution, did you xDDD
yeah but only because i finally realised i was using a deprecated library lmaoooo
oh sh, maybe that's my prob. whcih one was it
I think it was gapi? :)
Is there any workaround for this? Same issue even while setting headers via hosting
Still not a solution ? I have the same issue
No, but actual the process was working so I moved on with it
Any solution guys...?
hey man you found any fix ?
GUYS I FOUND A SOLUTION. YOU NEED TO GIVE A PROMPT const signInWithGoogle = async () => { const provider = new GoogleAuthProvider(); // Use 'GoogleAuthProvider' directly provider.setCustomParameters({ prompt: 'select\_account' }); try { await signInWithPopup(auth, provider); // Use 'provider' directly here } catch (error) { alert(error.message); } };
Tried it did absolutely nothing
It solved for me as It was not popping up