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 18 forks source link

Expose a method to get OAuth2 redirect URL from code client #15

Closed kasvith closed 2 years ago

kasvith commented 2 years ago

To work with platforms like Electron/Tauri it's necessary to have a method to do a redirect login flow on system browsers to comply with security policies from google.

As @vincenzoml mentioned he has a requirement to use this library with Tauri, but the browser version of tauri webview prevents google login.

We need a method to obtain the redirect URL so these platforms can do a system call to open the default browser.

Related issue #14

kasvith commented 2 years ago

Closed by #16

vincenzoml commented 2 years ago

@kasvith kasvith I am lost, I'm sure I saw a comment from you mentioning me, but can't find that anymore. Anyway: how do I test the fix? Is it already published?

kasvith commented 2 years ago

@kasvith kasvith I am lost, I'm sure I saw a comment from you mentioning me, but can't find that anymore. Anyway: how do I test the fix? Is it already published?

Yeah, its here https://github.com/syetalabs/vue3-google-signin/discussions/14#discussioncomment-3667590