Realm Google SSO integration seems to periodically fail... race condition?

On my realm app, I have had Google Authentication for quite some time. I originally was on Stitch web SDK, and I swapped into Realm web SDK in the last several months. That’s the realm-web npm package.

Ever since that, SOMETIMES the Google SSO will fail. After I click my google account to authenticate, I see an error appear

console-breadcrumbs.js:33 Error: Window closed
at o.__trace__ (inline-script-content.js:146)

Anybody have any ideas? Thanks!