Closed artifex-pro closed 11 months 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.
@artifex-pro can you provide a stackblitz or codesandbox? or a repo?
This seems an issue from google's side
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.