Firebase: Losing Auth State on new Tab
I am using Firebase Authentication in my project and everything works fine but I have a contextmenu on several objects in my app which opens a new tab (within the same app). When the user opens a new tab for…
I am using Firebase Authentication in my project and everything works fine but I have a contextmenu on several objects in my app which opens a new tab (within the same app). When the user opens a new tab for…
login modal pops up for a split second and disappears... help anyone? tried deploying my nextjs-firebase app to Heroku, expected auth to work as it does in dev on localhost
Actually I'm trying to get current user id after authentication but I don't know how to do it. While registering email/password authentication only stores email, password as well as uid. I tried to fetch that uid by calling following function…
I have problem in firebase authentication - React Native. using OnAuthStateChanged the login process was successfully executed. but when page is refreshed/reloaded, in debugger it shows value user = 'null', even though I'm logged in. import {onAuthStateChanged} from 'firebase/auth'; import…
I would like to condition the sign out action depending If I have already or not sign in. I just tried with an "If" before everything but it show a "expected identifier" and "expected )". I would like to learn…
All of a sudden I got this error while doing the login and registration process. I came across it while trying to register on the signup screen.
I am trying to check if an email already exists in Firebase authentication, but I can find something for Java. I am trying to do something like searching in a list of emails and if that email is not in…
I am trying to implement OTP verification in my Flutter app using Firebase, but I am facing an issue where the verification fails even though both the sent and entered OTP are the same. I am using the following function…
I am building an app using Node.js v18 and React v18 and I have the following problem. I am redirecting my user when he tries to go to login but is already logged in. The problem is that for a…
I have seen various questions about the same topic, and realized that 'currentUser' does not go with future after the update in FirebaseAuth import 'package:flutter/material.dart'; import 'package:firebase_auth/firebase_auth.dart'; class HomePage extends StatefulWidget { @override _HomePageState createState() => _HomePageState(); } class _HomePageState…