Questions tagged [firebase-authentication]

Firebase Authentication provides backend services, easy-to-use SDKs, and ready-made UI libraries to authenticate users to your app.

Filter by
Sorted by
Tagged with
0 votes
0 answers
5 views

No GoRouter found in context 'package:go_router/src/router.dart': Failed assertion: line 489 pos 12: 'inherited != null'

After initialising firebase, in my main.dart file, I wanted users to be redirected to dashboard if they are authenticated, if not, they should be onboarded. But I keep getting the error above. This is ...
Jesse Josiah's user avatar
0 votes
0 answers
8 views

`auth/network-request-failed` when using `signInWithEmailLink` on `@react-native-firebase`

On react-native-firebase I am trying to implement passwordless authentication using a sign-in link sent to the users email, however when react-native tries to authenticate using the sign-in link, I ...
matabeitt's user avatar
  • 160
0 votes
0 answers
12 views

Creating custom UID in React Firebase Module [duplicate]

In a React app, when we call the signInWithCredential method from the Firebase library, a new user gets created in the Firebase console if it doesn't exist. When this happens, we need to be able to ...
Minor Vargas's user avatar
0 votes
0 answers
14 views

Spring Boot 3 Firebase Authentication

i need to validate my jwt token in spring boot for all api calls i need it something like this FirebaseToken decodedToken = FirebaseAuth.getInstance().verifyIdToken(idToken); ...
Siva's user avatar
  • 1
0 votes
1 answer
42 views

FirebaseUI only allowing users to create an account but not sign-in to exsiting account

I have setup FirebaseUI in my React app so that users can create an account and sign in to said account to access my application. Whenever a user creates an account it appears to be properly saved in ...
Zane Trahan's user avatar
0 votes
1 answer
20 views

Missing firebase token

i'm developing a flutter app with firebase and i have problem with the login with google on android the same code work without any problem with ios. In android i recive a missing token error and can't ...
Giovanni's user avatar
0 votes
0 answers
12 views

Firebase Auth - Disable Register

Can we disable register without upgrading to Identity Platform. It looks quite expensive. If i understand correctly; We cannot disable new user register without Identity Platform upgrade and it costs ...
boorock's user avatar
  • 61
0 votes
0 answers
21 views

Why does the user get logged out on refresh? - Using Firebase Authentication [duplicate]

I've created a simple log in and sign up for a personal project of mine. However have run into some bugs as it's the first time I've actually coded something like this. Why is the user logged out on ...
Harman's user avatar
  • 1
0 votes
1 answer
12 views

Firebase rules for storage are not working (no permission to accesss)

THE UPLOADING PART WORKS WITH NO PROBLEMS This is my code for uploading the png/jpg files to firebase storage, and then getting it back as a url to it. let userId = auth?.currentUser?.uid; const ...
Paweł Owczarek's user avatar
0 votes
0 answers
17 views

Firebase Auth API Key not valid when deployed in GAE

I'm using github actions to deploy a NextJS app to google app engine but when I try to login I get auth/api-key-not-valid.-please-pass-a-valid-api-key error in console. In localhost it works perfectly....
Lucas Freixieiro's user avatar
0 votes
1 answer
21 views

FirebaseAuth.instance.signInWithEmailAndPassword() not working as intended. The error.code doesn't return the thing i wanted

The FirebaseAuth.instance.signInWithEmailAndPassword() throws 'invalid-email' when I input the wrong email format ( it worked as intended ). However, in other situations such as the correct email but ...
Doodle's user avatar
  • 1
1 vote
0 answers
26 views

implementation ("com.firebaseui:firebase-ui-database:8.0.1") not working in kotlin for Android Studio Giraffe | 2022.3.1 Patch 1?

I am new to Coding for kotlin an want to convert my old project from java to kotlin and in this project i'd used firebase database ui for chatting and added below the dependency in build.gradle.kts(:...
MEGHA DOBARIYA's user avatar
0 votes
0 answers
19 views

Firebase authentication with email and password not working with new google-services

My Unity/Android app is not allowing email and password registration, but it works with other google-services.json files (the code is the same as I've used in several games, so it shouldn't be the ...
Jeff's user avatar
  • 1
0 votes
0 answers
17 views

Sudden errors from Firebase verifyIdToken

Has anyone ever experienced sudden timeout errors from verifyIdToken() of the Firebase Admin SDK (Node.js)? Hi, We started getting sudden timeouts when calling verifyIdToken() of the Firebase Admin ...
Mike Borozdin's user avatar
0 votes
0 answers
9 views

Firebase password reset link says reset is done, but new password is not working (Swift)

I'm trying the firebase password reset feature. I use e-mail/password auth method + email verification link. I created accounts, verified their emails by verification link. So the create user, verify ...
incelemeTRe's user avatar
0 votes
0 answers
18 views

Play Integrity Error Flutter Firebase Phone Auth

Hi i'm trying to setup phone auth on my app but i have an error when i'm trying to send sms code. I have enable Play Integrity on firebase console with app fingerprint I/PlayCore( 5388): UID: [10182] ...
Mat_'s user avatar
  • 1
0 votes
0 answers
14 views

Authentication in two websites using Firebase Authentication

I have two websites, the first 'bookstore.ltd.com', and the second 'first.bookstore.ltd.com'. I use the same Firebase authentication for both websites. I want to put a button on the menu of 'bookstore....
Miranda's user avatar
0 votes
1 answer
34 views

React Native not persisting Firebase User

I'm using ReactNativeAsyncStorage to persist a Firebase User. However, my user is not being persisted upon reload of the application. The useAuth hook does work when the app is loaded. What am I doing ...
David Henry's user avatar
  • 1,974
0 votes
0 answers
15 views

How to connect the interface with firebase [closed]

I already make an interface in flutter using vscode. But i don't know how to make sure my interface function the same when connect with firebase. How to make sure my interface can run as it function. ...
Nur ain's user avatar
1 vote
0 answers
35 views

Unexpected `auth/operation-not-allowed` Error When Linking Anonymous Account with Email in Firebase

I'm encountering an unexpected issue when attempting to link an anonymous user with an email/password credential in Firebase. Relevant firebase auth doc The following code snippet demonstrates the ...
Saccarab's user avatar
  • 1,419
0 votes
0 answers
15 views

Attempting to load Google sign-in pop, but hit with error: (auth/argument-error)

I'm working on an Angular application that utilizes Firebase for authentication. I'm encountering an error with the message FirebaseError: Firebase: Error (auth/argument-error) in my app.component.ts ...
A Gilmore's user avatar
0 votes
0 answers
23 views

How solve empty reCAPTCHA token error in flutter

I'm working on flutter project and I need to implement reset password functionality with firebase. But when I'm calling the FirebaseAuth.instance.sendPasswordResetEmail(email: _emailTextController....
Nishada Dilshan Weerathunga's user avatar
0 votes
1 answer
39 views

Firebase Authenticator Error when trying to sign in to HomePage

class _LoginPageState extends State<LoginPage> { // text editing controllers final emailController = TextEditingController(); final passwordController = TextEditingController(); // sign ...
user22440324's user avatar
0 votes
0 answers
15 views

Error message "The sms code has expired. Please re-send the verification code to try again" in OTP Firebase Flutter

Whenever I tried to login with phone number using firebase, I recieve OTP code through sms and when I submit the recieved code, an error is there saying:"The sms code has expired If I use the ...
gdf's user avatar
  • 1
0 votes
1 answer
38 views

Flutter Firebase Auth Change Password and Email

I am working on an app with Flutter and Firebase I want to edit user profile information... When I update the name, it works fine, but when updating the email or password, it is updated only in the ...
Ma Ba's user avatar
  • 1
0 votes
0 answers
9 views

TypeError: 0, _auth.updateProfile is not a function (it is undefined)

I am using firebase for authentication. there i want to update the user details i.e displayName using updateProfile method but it is not working. all the tutorials or example online which i have tried ...
Muhammad Ahmad's user avatar
0 votes
0 answers
22 views

How to disable captcha in Firebase phone auth (otp) in Flutter?

Android Device Check and SafetyNet APIs have been deprecated. I enabled the Play Integrity API in Google cloud hoping to get rid of captcha but, still I have not been able to disable it when I go for ...
Mohammad Khan Awan's user avatar
0 votes
0 answers
16 views

my app has register and login screens. it works well in the emulator but in my phone it register but not log in [closed]

i made a chat app that have register and logIn screens in flutter vscode and made auth by firebase and added internet permission but on my physical device it loads the login and do nothing after. but ...
MAHMOUD ELSAYED's user avatar
0 votes
1 answer
33 views

Multi role user login [closed]

I want to login as user(simple user) and company.Here shows login successfully but page cannot route: void route(BuildContext context) { User? user = FirebaseAuth.instance.currentUser; ...
Muntasir Ashif's user avatar
0 votes
0 answers
16 views

How do I log current user context out in firebase using Expo React Native?

I'm building an iOS application in React Native using Expo, and I'm using firebase to handle user creation and login. I have an AuthProvider.js class that basically allows me to set a global state (...
TheStranger's user avatar
  • 1,417
0 votes
0 answers
13 views

How to protect Capacitor/web app local data [closed]

I need a way to protect some local data. Mostly in JSON format. I am using Vite to pack my capacitor app. I have a large JSON file with data to create a medical library. I need to make it hard for ...
Ahmed ElSifi's user avatar
0 votes
2 answers
40 views

Firebase confirm with password

My Firebase app has a certain sensitive operation, that the already signed-in user would ideally confirm by reentering his password. I would like to show this (already signed-in) user a modal ...
Damjan Vučina's user avatar
0 votes
1 answer
13 views

I can't get phone number from user use firebase flutter

final GoogleSignInAccount? googleUser = await googleSignIn.signIn(); if (googleUser == null) return; _user = googleUser; final googleAuth = await googleUser.authentication; ...
MInkduck's user avatar
1 vote
1 answer
28 views

Flutter: Firebase google sign-in persistent causing an automatic reauthentication

I'm working on a Flutter application that utilizes Firebase and Google Sign-In for user authentication. My problem arises when I attempt to log the user out using the following code: Future.wait([ ...
devblock's user avatar
  • 123
0 votes
0 answers
21 views

use middleware in nextjs to check user is authenticated or not using firebase-auth

I am planning to use nextjs 13 in my project with firebase for authentication and database. My question is how can I use nextjs 13 middleware to check if user is authenticated or not, can i do that, ...
Huzefa zeenwala's user avatar
0 votes
1 answer
27 views

Firebase Auth giving me invalid email exception [closed]

When i try to sign up with an email that has multiple dots, say for example: [email protected] (contains 2 dots and which could be a real email address) it throws an invalid-email exception. Is ...
dana's user avatar
  • 1
0 votes
1 answer
13 views

firebase authentication after login app automatically recent Minimized

firebase authentication after login success app automatically minimize. android studio error logcat here. FATAL EXCEPTION: main Process: com.myapp.myapp, PID: 15474 java.lang.RuntimeException: Unable ...
XenLeaks's user avatar
0 votes
0 answers
29 views

Error getting App Check token; using placeholder token instead . Can't pass through user authentication via sms

I have a flutter application, on the production, as user authorization i use firebase-fcm await auth!.verifyPhoneNumber( phoneNumber: phone, verificationCompleted: (PhoneAuthCredential ...
Asylzat's user avatar
  • 197
0 votes
0 answers
14 views

firebase does not provide an export named CreateCustomToken [closed]

am trying to create a basic create user and user authentication with fire base buth this is the error am getting firebase.js?t=1695372996300:6 Uncaught SyntaxError: The requested module '/node_modules/...
ikujebi kehinde's user avatar
0 votes
1 answer
35 views

Firebase User Account Linking does not work with Apple SignIn

I am using Firebase User Account Linking with Firebase Auth on Flutter. When an account with email address x already exists and the users signs up with google sign in and the same email address, ...
Q.uestion's user avatar
  • 182
-1 votes
0 answers
17 views

having some issue during flutter firebase installation in authentication emulator

firebase emulators:start i emulators: Shutting down emulators. Error: Could not spawn java -version. Please make sure Java is installed and on your system PATH. this error is shouting during emulator ...
badkarma's user avatar
0 votes
0 answers
14 views

FireBase authentication redirect to another page

I'm having my first contact with firebase + react and I'm still trying to understand some of the code's behaviors, I recently came across an issue that is as follows, during a registration flow for a ...
Matheus Celini's user avatar
0 votes
0 answers
10 views

Sync WordPress and Firebase password

I want to sync WordPress and Firebase password but it does not work: <?php require 'vendor/autoload.php'; use Kreait\Firebase\Factory; $factory = (new Factory)->withServiceAccount(__DIR__ . '/...
Lars's user avatar
  • 1
1 vote
1 answer
25 views

Firebase realtime database rules don't allow anonymous-authenticated users

I have a simple web app with a Firebase realtime database, and Firebase auth. My db rules look like this: { "rules": { "users": { "$uid": { "....
GaryO's user avatar
  • 5,937
1 vote
1 answer
38 views

Firebase StreamBuilder<User?> not working as expected

I have this code for checking for user session of Firebase: StreamBuilder<User?>( stream: FirebaseAuth.instance.userChanges(), builder: (context, snapshot){ print('stream: ${snapshot....
Steve Roseik's user avatar
0 votes
0 answers
8 views

Network error (such as timeout, interrupted connection or unreachable host) has occurred. [firebase_auth/network-request-failed]

One of my production user was having issues with [firebase_auth/network-request-failed] since yesterday. He is experiencing a long loading time on most of the API calls. Everything worked normally ...
Shrijan Regmi's user avatar
1 vote
2 answers
35 views

Can't catch errors with createUserWithEmailAndPassword() in firebase

I couldn't debug the thing that's why my code doesn't catch the error such as creating a user with the same email as he has registered before and it created a user with the same email and such. It ...
Raffay Elahi's user avatar
0 votes
0 answers
21 views

Firebase Fcm create a token based on when a user log in?

So I have to update token whenever a user signs in in cloud Firestore database.I have a code below in which it updates based on user logged in but i have to like First login the app then close it and ...
Karthi raja loganathan's user avatar
0 votes
2 answers
36 views

Firebase authentication with Apple does not provide user email

I have a Flutter app with a authentication flow using Firebase Authentication and I want to create an entry in Cloud Firestore with the email retrieved from the user field of the UserCredential object ...
pcba-dev's user avatar
0 votes
0 answers
38 views

Can't update user email with updateEmail(currentUser, newEmail) from Firebase auth?

I am creating a simple web app using React-TS and Firebase. A user can signup with email and password, a user should also be able to update their profile. I want a user to be able to update their ...
Glawrr's user avatar
  • 1

1
2 3 4 5
435