wavezync / nuxt-vue3-google-signin

Nuxt Module for vue3-google-signin
https://vue3-google-signin.wavezync.com/
MIT License
55 stars 7 forks source link

Error with One Tap Login #23

Open yaowangmx opened 5 months ago

yaowangmx commented 5 months ago

``

version: nuxt-vue3-google-signin@0.0.11

image

But if i use this link's code(https://stackblitz.com/edit/github-7tvhqt?file=nuxt.config.ts,app.vue), I can get access_token

kasvith commented 5 months ago

did you follow all the instructions correctly

yaowangmx commented 5 months ago

did you follow all the instructions correctly

Yes. Could you provide a complete example of nuxt3+useOneTap?

jsony commented 3 months ago

me too image

image

the lastest google FedCM not support, in chrome

jsony commented 3 months ago

@yaowangmx how do you fixed?

yaowangmx commented 3 months ago

@yaowangmx how do you fixed?

I gave up this plugin and switched to using it instead vue3-google-login@2.0.26

jsony commented 3 months ago

I gave up this plugin and switched to using it instead vue3-google-login@2.0.26

can you give me a link about vue3-google-login@2.0.26, i'm from china,thank you

yaowangmx commented 3 months ago

vue3-google-login

咦,遇到老乡了:https://www.npmjs.com/package/vue3-google-login

jsony commented 3 months ago

vue3-google-login

咦,遇到老乡了

我就说你咋这会在线,看着像老乡 我vx: yangyao8 来真有缘 哈哈

jsony commented 3 months ago

vue3-google-login

咦,遇到老乡了:https://www.npmjs.com/package/vue3-google-login

这个怎么用到nuxt啊,直接引入模块报错

jsony commented 3 months ago

vue3-google-login

咦,遇到老乡了:https://www.npmjs.com/package/vue3-google-login

这个怎么用到nuxt啊,直接引入模块报错

解决了,非常感谢老乡,中国人帮助中国人 哈哈 image

kasvith commented 3 months ago

Hi @jsony @yaowangmx

https://stackblitz.com/edit/github-erar5n?file=app.vue

in here i've tried exact same code as in the documentation to setup OneTap login it seems to work for me

(if you wanna test easily create a new google client id and replace it in the SB and add it to allowed origins in google console)

luoshushu commented 3 months ago

+1 Error with One Tap Login