pwa-builder / PWABuilder

The simplest way to create progressive web apps across platforms and devices. Start here. This repo is home to several projects in the PWABuilder family of tools.
https://docs.pwabuilder.com
Other
2.71k stars 280 forks source link

Are there any methods to incorporate Facebook and Google login into an Ionic progressive web app (PWA)? #4806

Closed typescripterpro closed 3 weeks ago

typescripterpro commented 3 weeks ago

What happened?

After successfully developing an app in Ionic 3 for Android and iOS, I encountered a problem when adding the browser platform. The Facebook and Google login features were not functioning as expected.

Despite the assurance from Ionic documentation that the Facebook plugin is supported in the browser, it was not working for me.

Additionally, I discovered that the Google Plus plugin only works for Android and iOS platforms.

Now I am left wondering how to integrate both Facebook and Google login in a Progressive Web App created with Ionic 3.

Same https://typescripter.space/questions/are-there-any-methods-to-incorporate-facebook-and-google-login-into-an-ionic-progressive-web-app-pwa

How do we reproduce the behavior?

I attempted to use the angular4-social-login module without success. I also tried utilizing the JavaScript SDK, but unfortunately, that did not work either.

What do you expect to happen?

No response

What environment were you using?

Windows 10

Additional context

No response

jgw96 commented 3 weeks ago

Hey! So it sounds like you are using Capacitor (as you mentioned its "browser" platform), which would lead you towards those plugins. We cant help with Capacitor or any of their plugins unfortunately, I would recommend opening an issue with Ionic for that. However, I can say, you can, and in my opinion, probably should just use the Firebase Web SDK https://firebase.google.com/docs/auth/web/start