Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated GAPI #2

Open
jakcharvat opened this issue Sep 25, 2024 · 1 comment
Open

Deprecated GAPI #2

jakcharvat opened this issue Sep 25, 2024 · 1 comment

Comments

@jakcharvat
Copy link
Owner

The web implementation still relies on the deprecated gapi.auth2 library.

The plugin still works due to this workaround CodetrixStudio#202 (comment), however we should probably migrate over to a new setup soon.

The successor to gapi is the Google Identity Services library, but that lacks an API to request the login flow from custom code the way we do here, instead fully rendering out sign in buttons. That would greatly diverge the web version of the plugin from the native version. We don't want to do any UI work in this plugin.

The other option is writing the login flow from scratch using Google's OpenID Connect support. That should be a working solution for now, but will probably not work once the Federated Credential Management API comes along and browsers stop supporting third-party cookies (I think).

@jakcharvat
Copy link
Owner Author

@PavelHolman

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant