-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Google-Auth(Google Identity) Blank popup #796
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
From the error message it looked like the popup window did not have the access to the opener page. Did you set the |
Just kinda happened upon this, and I think I know how to fix it, so I'll leave the answer here. The |
Glad to hear that you found a solution. Please post any more authentication/authorization questions on Stack Overflow with the google-oauth tag. We're unable to provide support for it here. |
does anyone know how to solve this in next js? i've been experiencing the same issue. |
try this, it helped me https://stackoverflow.com/a/68469319 |
Had a similar issue when using VS2022 17.3.5, where the pop-up for Google sign-in would be blank if already signed in to a Google account. Fixed it by disabling JavaScript debugging from Tools > Options. |
Hi @varad615 did you found the solution of this? |
You need to able the origin in the user account where you generate the clientId |
Update: I was able to fix this |
Enlighten us |
You're the emperor of code. Please show us mere mortals mercy by allowing a glimpse of your infinite knowledge used for solving this problem. |
I recently faced this problem as well when upgrading our Django from 3.2 to 4.2 and setting |
Is this solution good? unsafe-none Settings something as unsafe-none doesn't sound, well, safe? |
@Megatronicus I thought the same, but again, it's the only documented value for that setting that did the job in my case. I don't know, but here's how I understand it: it's an additional layer of security introduced to django 4 and Django docs explicitly mention that it can be set to What are you thoughts on this? |
Thank you, it works! |
For me it works in Chrome but not in Firefox, where I get this error |
Ya |
Good good |
It really helped, thanks mate |
I encountered the same problem, but I used react front-end. How should I deal with it? |
My Google Auth is Stuck in the popup auth flow. The one-tap authentication works just fine but not the button
. I click on it, the popup opens but that's it, it remains there blank with no progress, never closes or anything.I have all the domains, localhost added in Authorized redirect URIs and Redirects. But I still can't get the popup to populate and complete the authentication flow. Any help is appreciated.

At this point the error I am getting in FIREFOX:
And in CHROME:
The problem seems to be this
picker_popup
in this line of code:a,c);return b.g};li=function(a,b){"picker_popup"===a.i?window.opener.postMessage(b,a.j):window.parent.postMessage(b,a.j)};_.ni=function(a,b){var c=new _.Nd;a.g?(a.g.postMessage(b),c.resolve()):c.reject("Illegal state: try to send message before message channel set up.");return c.g};
The text was updated successfully, but these errors were encountered: