-
Notifications
You must be signed in to change notification settings - Fork 875
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
Firebase auth "auth/operation-not-supported-in-this-environment" #558
Comments
Please provide information about your environment. For Ionic mobile apps, you need to follow the documentation provided at: https://firebase.google.com/docs/auth/web/cordova |
As mentioned, my environment is a stencil server, on Windows 10. Chrome: "5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36" THIS IS NOT CORDOVA, nor is it really ionic. it is a new thing being released soon. |
I see. Unfortunately, I have no knowledge of this new environment. If it does not support web storage (localStorage or indexedDB), is not an http/https environment or does not support DOM, then operations like |
I might have been unclear, let me rephrase.
It shouldn't be too different than any HTTP server, and I would really appreciate if you just clone the repository and |
I am getting this error, but I am testing something work. As it stands I literally just wrote a HTML file with JS. The var config and <script> info has been copied from the firebase console 'add firebase to your webapp'. I don't get, a few week ago this worked perfectly in testing. |
I get the same error, but I'm using Vue with firebase authentication, this occurs when I use: const provider = new firebase.auth.GoogleAuthProvider() -> Sorry the problem is that I don't serve the HTML page. In my case, I used "Preview on Web Server" extension on VS Code and works great. |
I also just received this error on an iOS device running a Progressive Web App built using Stencil. Specifically, the app does work if running directly in the browser, but once the app is saved to the "Home Screen" (one of the main benefits of building a PWA), that's when the problem occurs. I'm pretty sure in my case, then, that it has something to do with how iOS runs the PWA when not in the browser. |
I also faced this issue. I faced this issue because of plugin version. try to update your 'webview' plugin version. It is work for me. |
1 similar comment
I also faced this issue. I faced this issue because of plugin version. try to update your 'webview' plugin version. It is work for me. |
I get the same error. I a running windows 10, building in VS code and using Electron. `function googleLogin(){
}` This is the function for the button, it operates from a different JS file, than where I have the app creds, however that should not matter. |
The Microsoft edge private mode issue is different than the other environment issues. For popup/redirect flows, 3rd party cookies/data have to be enabled. Otherwise, the operation will fail. This is true for Safari private mode browsing, and other private mode browsing. With the limited information provided, I speculate this is the cause of the error. |
Closing - no additional information provided since @bojeil-google's last update. Please re-open if there are specific repro steps. |
[REQUIRED] Describe your environment
[REQUIRED] Describe the problem
On the stencil environment, doing:
causes:
The environment is HTTP, on localhost, and
Storage
is defined.Relevant Code:
See: https://github.com/AmitMY/firebase-stencil-issue
The last commit (firebase issue) is the code I added to the starter.
The text was updated successfully, but these errors were encountered: