firebaseui-web
firebaseui-web copied to clipboard
auth/operation-not-supported-in-this-environment on Ionic v4
Describe your environment
- Operating System version: ionic v4 (React) / iOS
- Browser version: -
- Firebase UI version: 4.2.0
- Firebase SDK version: 6.6.0
Describe the problem
Not sure this is a bug. I cannot make Google OAuth work on a Ionic hybrid-app. The error is always the following:
auth/operation-not-supported-in-this-environment
This operation is not supported in the environment this application is running on. "location.protocol" must be http, https or chrome-extension and web storage must be enabled.
In fact, location.protocol
is capacitor:
in my case. On the other hand, the doc says
FirebaseUI fully supports all recent browsers. Signing in with federated providers (Google, Facebook, Twitter, GitHub, Microsoft, Yahoo, OIDC, SAML) is also supported in Cordova/Ionic environments.
First of all, does this include Capacitor environments? I only find inconsistent or outdated information.
We do not support Capacitor environments.
I see. I will use only email authentication for now, which works like a charm. I would suggest to update the README to clarify this, because "Ionic" can be intended as "Capacitor" nowadays. Any plans to support this in the future?
Any plans to support this?
Any plans to support this?
ye please add support
Any plans to support this?
I also need urgently this functionality. I would like to use the FirebaseUI Auth with Ionic Capacitor using the Facebook and Google provider.
yes please add support for this!
Capacitor is growing rapidly and still no plans to support it. Can we have an update? @bojeil-google
I've filed this internally as b/160626915.
This is a feature I would love, it has taken me a long time to find this page and determine what I'm trying isn't possible.
Hi there, what's the status of this issue. Will this feature be implemented? As of ionic 5, capacitor is what is used...
As capacitor continues to grow, I'd also like to suggest implementing this as well! as of October, @capacitor/core is averaging 83k weekly installs according to npm. Just noting if that helps with task prioritization!
We do not support Capacitor environments.
You do support Streamlit environment?