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.75k stars 285 forks source link

[BUG] Firebase auth UI won't work on iOS app #2644

Closed santiimageen closed 2 years ago

santiimageen commented 2 years ago

What happened?

Hi! My PWA contains FirebaseUI authentication module (https://firebaseopensource.com/projects/firebase/firebaseui-android/auth/readme/). It works fine running it in any browser (also in Safari), but when tried to run the app created by PWABuilder and try to authenticate with Google, it throws a 400 error. My PWA is https://app.imageen.net I tried both modes of FirebaseUI: popup and redirect, and it fails on both cases.

How do we reproduce the behavior?

  1. Donwload Imageen app from App Store (https://apps.apple.com/es/app/imageen/id1413783559)
  2. Start the app
  3. Try to log-in with any Google account

What do you expect to happen?

As the PWA works fine in a browser, I guess that should be related with some connection or network restrictions of ios app. Im sorry, I'm not very expert in app iOS development.

What environment were you using?

Any iOS device.

Additional context

No response

ghost commented 2 years ago

Hello santiimageen, thank you for opening an issue with us!

I have automatically added a "needs triage" label to help get things started. Our team will investigate the issue and help solve it ASAP. Other community members may also look into the issue and provide feedback 🙌

joshsach commented 2 years ago

Hi thanks for submitting this inquiry. I think this would be better suited for our Discord community linked here. Our Discord community is broken down into three larger categories: getting started, building out your PWA, and packaging your PWA. There are plenty of really helpful community members and mods that will be able to help answer your questions and guide you through your PWABuiling journey :)