Skip to content
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

Cannot read properties of null (reading 'postMessage') #1221

Open
nuclearWinters opened this issue Jun 10, 2024 · 0 comments
Open

Cannot read properties of null (reading 'postMessage') #1221

nuclearWinters opened this issue Jun 10, 2024 · 0 comments

Comments

@nuclearWinters
Copy link

Important gapi.auth2 notice: gapi.auth2 has been deprecated and replaced with Google Identity Services. Please see https://developers.google.com/identity/sign-in/web/deprecation-and-sunset for more information. If you have questions related to authentication/authorization please look at the associated documentation or post questions on Stack Overflow with the google-oauth tag.

Summary
Everything is working perfectly until this page loads

Screenshot 2024-06-10 at 3 22 50 p m Screenshot 2024-06-10 at 3 23 00 p m

The pop-up gets blank and the following error is displayed on the console: Cannot read properties of null (reading 'postMessage')

This only happens to some inactive accounts, is there a recommended way to handle this or is this a error in code?

Browser(s)/Version(s)
Version 125.0.6422.141 (Official Build) (arm64)

Expected Behavior
The user should be logged in or the pop-up should show the next page

Actual Behavior
The user is not being logged in or the pop-up is not displaying the next page. Instead it display a blank page and an error message

Steps to Reproduce
To reproduce you need an old account and then try to log in using the google-api-javascript-client

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant