Skip to content

google.accounts.id.initialize() is called multiple times #411

Description

@mariusk

I've wrapped the GoogleOAuthProvider around my top level component, but it seems certain/all navigation events trigger the warning in the title and shown below:

client:85 [GSI_LOGGER]: google.accounts.id.initialize() is called multiple times. This could cause unexpected behavior and only the last initialized instance will be used.

At the very least, it should not call initialize unless the client id changed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions