In testing the module locally, I saw that it sometimes didn't work because window.google wasn't yet defined.
I've prepared a patch that wraps the initialisation code in a function that first checks window.google is defined, and sets a timeout to rerun the check in 100ms if that's not the code.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | fix-3594000-JS-might-need-to-wait-for-Google-library.patch | 1.45 KB | nigelcunningham |
Issue fork social_auth_google_one_tap-3594000
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
nigelcunningham commented