wavezync / vue3-google-signin

Google OAuth2 plugin for Vue3 Apps. This uses latest Google Identity Service Library. It also provides set of composables which can be used easily to implement different authentication strategies
https://vue3-google-signin.wavezync.com/
MIT License
161 stars 17 forks source link

Google Loading GSI Error #45

Closed artifex-pro closed 11 months ago

artifex-pro commented 1 year ago

Describe the bug

Whenever loading the library it results into this given error:

GET https://accounts.google.com/gsi/client net::ERR_INVALID_HANDLE

var initialize = () => { isLoading.value = true; scriptTag = createScriptTag(); document.head.appendChild(scriptTag); ==> Specifically fails here scriptTag.onload = () => { isLoading.value = false; loaded.value = true; }; scriptTag.onerror = () => { isLoading.value = false; error.value = true; }; };

To Reproduce

On both nuxt-vue3-google-signin and vue3-google-signin it fails.

On firefox Nuxt 3 gets stuck because of the error.

On Google Chrome it's completely blocked.

kasvith commented 1 year ago

@artifex-pro can you provide a stackblitz or codesandbox? or a repo?

kasvith commented 1 year ago

This seems an issue from google's side