Firebase Auth ID token has incorrect "aud" claim

I'm trying to verify an idToken backend. The user has successfully logged in to firebase client side but when I try to verify the idToken on my backend I get this not very helpful error...

Firebase authentication asp.net core

After a successful sign-in to Firebase we received a JWT token. In order to add authorization to my asp.net app, I tried to add a JwtBearerAuthentication to my middleware. I have tried the...

How to get oobCode for localization purpose

Firebase allows only one language for confirmations emails. Whole nicely done products are useless for multi-language apps. I want to make my own confirmation system. The only question is how can...

Firebase User's display name and photo url is not retrieved

I am developing an Android App using Firebase, In my app I am using Firebase Anonymous Login and Google sign In. When the application starts if the user is not Logged In, then I am using Anonymous...

How do I add headers to firebase web app to issue GET request to external API?

I'm trying to hit an API with a GET request via an ajax call inside of a react component. I'm getting an error that headers aren't present. The tech support guy for the API told me to use php to...

How to prevent new user registration on Firebase?

Is there any way to turn off more users from signing up on Firebase after I've signed up specific users? For instance, if I only want 10 particular users to be signed up and no more, is there a...

Get Firebase Access Token in POSTMAN

In my web application, I am using Firebase for Authentication, to access any API, I have to authenticate from firebase. Question: How can I get access token of firebase in Postman? I have 2...

Firebase says "Domain not whitelisted" for a link that is whitelisted

I am busy setting up a firebase authentication using an email magic link and using the guide here: https://firebase.google.com/docs/auth/android/email-link-auth It says I need to whitelist a...

how to reset firebase auth password in react native

I want to know how to reset password of firebase email authentication password in my react-native project . I like to sent an email for resetting the password. How to do that using the following...

How to check if the user is logged in, if so show other screen?

My first screen is a login screen and it needs to check if the user is logged in to open the home screen directly but I get an error using this check. I'm doing the check on initState, the...

Firebase onAuthStateChanged is being called twice upon login

I am new to firebase. I'm trying to login using React + Redux. When I click 'Login', it will log me in once, then the onAuthStateChanged is called again with res being null which logs me back...

How to know if Firebase Auth is currently retrieving user?

Background I am using GoogleAuthProvider, with the default LOCAL persistence. When I navigate to the page, I do: firebase.initializeApp(firebaseConfig) firebase.auth().currentUser // this is...

"NoSuchMethodError: tried to call a non-function, such as null: 'dart.global.firebase.auth'" when initializing auth() in flutter for web

I'm trying to implement sign-in function with Firebase Authentication in Flutter for Web app. I can already use Firestore to store/ extract data in the same app without signing-in. When executing...

Firebase signInWithPopup() function, pop-up google sign in Window but the pop-up does not show any google accounts

I am doing "Google Sign In Authentication" using firebase... but the sign-in pop-up window does not show any available google users, and the pop-up window disappears after about 5 sec and does not...

React-Native: "FirebaseError: No Firebase App '[DEFAULT]' has been created - call Firebase App.initializeApp() (app/no-app)"

I'm building a React Native app, currently trying to implement an authentication registration system through Firebase Auth. I've followed a guide/the docs on the website to setup the Firebase...

Firebase (Phone Auth) Getting iOS error: register custom URL scheme

My flutter app uses Firebase Auth (Phone). I keep seeing the error: 'Please register custom URL scheme 'com.googleusercontent.apps.602546125958-5lk04ghhdfj5xxxxxxxx'. I have added the URL schema...

How to get logged in user's email in Flutter using Firebase

I want to get the email of the logged in user in a Flutter app which uses Firebase for authentication. I can get the current user by final user = await _auth.currentUser(); But if I try this to...

Error: Failed to get Firebase project project-name. Please make sure the project exists and your account has permission to access it

I tried running firebase deploy like I have always done but came across this Error: Error: Failed to get Firebase project project-name. Please make sure the project exists and your account has...

Retrieving user email from Firebase in Flutter

In my AuthProvider class where I handle my sign in, sign, out authentications, I created 2 functions that returns a Future String like so Future<String> currentUser() async { FirebaseUser...

Flutter: Unable to Firebase.initializeApp() Firebase authentication services

Created a new class to manage sign-in methods in one place, a Dart class with no flutter Widget. It gives errors about FIREBASE INITIALIZATION after following...

Can I use the auth:import and auth:export tools with the Firebase Auth Emulator?

I would like to preload the firebase auth emulator with my test user accounts whenever it starts up, the same way I do for the Firestore emulator with its import/export options. I tried using...

Ignoring header X-Firebase-Locale because its value was null

I'm currently doing a project on Android Studio and I'm using the sign in authentication. It works sometimes but sometimes it doesn't with the error "Ignoring header X-Firebase-Locale because its...

useCallback usage with fetching inside useEffect not correct- ReactJS

I want to achieve the following. Action from redux is imported in this component. It fetches data from firebase database. Data is displayed inside this component. My problem that due to...

Is it possible to hack and Update a firebase realtime database data

Recently i build a app using Firebase, But after i got Some users through advertisement, Someone just hacked Firebase database and Updated all user datas like . Username Profile pic path They set...

Flutter Auth State not changing in Wrapper() when (user == null) => WelcomeScreen()

When I code if(user == null) => LoginScreen(), the screen will show me my login screen, which I need to press the login button so the screen will show me the main screen MainScreen(). Good news...

Your API key is invalid, please check you have copied it correctly

I have been making a ReactJS+Gatsby Web App. But when I tried to implement the Firebase Authentication, it just gave me the error Your API key is invalid, please check you have copied it...

Flutter Web Sign in with Apple returning unknown exception

I am trying to implement Sign in with Apple for my Flutter web-only project. I have thoroughly followed the instructions for the web implementation in the FlutterFire documentation...

The argument type 'UserModel? Function(User)' can't be assigned to the parameter type 'UserModel Function(User?)'

Error : I am getting below error in Stream while mapping The argument type 'UserModel? Function(User)' can't be assigned to the parameter type 'UserModel Function(User?)' The code and the...

How to fix Firebase 9.0 invalid API key

I have my API key stored in a local .env file in my React project, and it is correctly pasted directly from my firebase console setup page. However, I receive this error: Firebase: Error...

Trying to create a document whenever a user signs up

I am trying to create a document in firestore in the path "users" and the name user.uid every time a new user signs up. In this document I want to store some attributes such as firstname,...