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

Web: Sign In with Google for Web + FedCM #53

Open
piotr-cz opened this issue Nov 7, 2024 · 5 comments
Open

Web: Sign In with Google for Web + FedCM #53

piotr-cz opened this issue Nov 7, 2024 · 5 comments

Comments

@piotr-cz
Copy link
Contributor

piotr-cz commented Nov 7, 2024

Following code

SocialLogin.initialize({
  google: { webClientId: 'FOOBAR' } 
})

Has an effect o warning in DevTools console:

Your client application uses libraries for user authentication or authorization that are deprecated. See the Migration Guide for more information.

Looks like
Sign In with Google for Web has been deprecated in favor of
Google Identity Services for Web, which has been deprecated in favor of FedCM

Reference:
Google Identity > Authentication > Sign In with Google for Web > Migrate to FedCM

@piotr-cz
Copy link
Contributor Author

piotr-cz commented Nov 7, 2024

Warning went away when I removed initialization of @codetrix-studio/capacitor-google-auth.

Anyway I'll keep this issue opened for few days because update to FedCM still makes sense

@riderx
Copy link
Contributor

riderx commented Nov 8, 2024

We are looking to swith to FedCM, but the doc is not yet there, @WcaleNieWolny made a PR in this direction

@WcaleNieWolny
Copy link
Contributor

I had never made a PR in this direction. I strongly believe that fedCM is used for one-tap login only, and the current implementation does not use one-tap

@piotr-cz
Copy link
Contributor Author

piotr-cz commented Nov 8, 2024

I think that contrary to standard Google Identity Services for Web, FedCM doesn't use third-party cookies which will be blocked by Google Chrome in future.

Docs also suggest that it will become the default: Prior to FedCM becoming mandatory for all sign-in, ...

Anyway it's doesn't seem as a high-priority issue now

@piotr-cz piotr-cz changed the title Web: Google Identity Services is deprecated Web: Sign In with Google for Web + FedCM Nov 8, 2024
@Saqib92
Copy link

Saqib92 commented Jan 24, 2025

Any update as I also received this email for my projects?

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

4 participants