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

window is not defined when importing the library #7

Closed kasvith closed 2 years ago

kasvith commented 2 years ago

It seems script is trying to load before mounting the component, making this unusable in SSR environments

kasvith commented 2 years ago

This seems to be coming from useGsiScript a fix on the way 🎉