0
votes

I'm implementing "Sign in with Google" using the Google "GSI" library. My application uses Next.js and TypeScript, so I'm looking for:

  1. An npm package including the GSI client library.
  2. TypeScript type declarations for the GSI client library.

I haven't been able to find either of these: I only see a script to load from https://accounts.google.com/gsi/client, and an informal API reference here.

Where can I find the GSI library and type declarations on npm?

1

1 Answers

0
votes

Okay, I found types at @types/google-one-tap. I don't know where to find the actual library on npm, though.