Problem/Motivation

Uncaught TypeError: Cannot read properties of undefined (reading 'accounts') when trying to use the module.

Steps to reproduce

Configure the social auth google and try to access the page as anonymous.
When I added a breakpoint and go to networks tab the request to https://accounts.google.com/gsi/client was still pending so it was trying to access it while it was still loading

Proposed resolution

Remove the async from google gsi client as it is a dependency for one-tap.js and it fails when the client has not been loaded

Remaining tasks

-

User interface changes

-

API changes

-

Data model changes

-

CommentFileSizeAuthor
#4 3569905-google-client-dependency.patch578 bytessickness29
Command icon 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

sickness29 created an issue. See original summary.

sickness29’s picture

Issue summary: View changes
Status: Active » Needs review
sickness29’s picture

StatusFileSize
new578 bytes

Also attaching the patch file to use in the meantime