Closed arnab15 closed 2 years ago
This is not package issue. This is authorization problem. Please go to Google Console > Credentials > Your Web Application Project and add your project url (Ex: http://localhost:3000) to Authorized JavaScript origins.
I also added nextjs example and demo to project folder.
I have used it in nextjs this way . const options = { client_id: "My client id", // required auto_select: false, // optional cancel_on_tap_outside: false, // optional context: "signin", // optional };