Questions tagged [firebase-authentication]

Firebase Authentication makes building secure application easy for developers, while improving the sign-in and onboarding experience for end users. It provides an end-to-end identity solution for developers, helping them add authentication UI flows optimized to reduce friction during sign-up and ...

0
votes
1answer
14 views

Firebase google authentication

Code private String mEmail; private FirebaseUser current_user; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R....
3
votes
1answer
13 views

Get this error auth/operation-not-supported-in-this-environment using express nodejs

I'm working with Firebase in my project but getting this error auth/operation-not-supported-in-this-environment when login with google credentials. .hbs file code <span class="google-bg session-...
0
votes
0answers
11 views

Can't get Twitter to work with firebaseUI web

I'm using FirebaseUI for my website authentication. I got it to work easily enough with Google and Facebook, but for Twitter I get the following error message : "Unable to determine the authorization ...
0
votes
1answer
17 views

Firebase Data Read Problem When Reload Page - Vue.js

I am trying to create profile page for users. I created login/register pages and I am using firebase auth. When I tried to fetch users data, everything works fine but if the profile page is reloaded,...
2
votes
0answers
33 views

Firebase Table Not Created

I want to create a firebase table Along with name Users along with the attributes Name, Email, Password and by default Id and also register with firebase authentication. But when I run the application ...
0
votes
0answers
19 views

How to write an async redux test with firebase login?

I have no idea how to write a test for this type of problem auth.js export const onLogin = ({email, password}) => async dispatch => { try { const user = await firebase.auth()....
0
votes
0answers
21 views

Error in Firebase Authentication. (Android app)

I am creating User signing in and I'm not able to figure out where it is going wrong. Please do help me out. Also, Already I used the "Whether the user is signed in or not" part. It is working fine. ...
1
vote
0answers
15 views

Firebase Authentication iOS 12 invalid token

I have an App that makes use of Firebase Authentication using phone SMS verification and recaptcha (no APNS) The App works fine with the Authentication process if you are using iOS 11.4.1 However, ...
0
votes
1answer
23 views

Firebase login Facebook / Google - UID

Im almost finishing a job and got a huge problem, I did the login/register using firebase and to call some functions I used in almost the hole project the uid like firebaseAuth.onAuthStateChanged(user ...
-1
votes
2answers
19 views

How to Implement firebase authentication fields with database fields with android studio app?

I know how to use the Firebase with phone authentication or with email but I have to use with both - The phone number and email number in my app to store on the database. Is it possible ? If it is ...
0
votes
0answers
18 views

Firebase Login Error: Error logging in with Google

I have a login screen in which you can login through Google, but when I click to login and then select the account, it stays in the same activity. The error in the Log is the following: W/...
0
votes
0answers
14 views

400 Error even if email exists in firebase

I am trying user authentication with firebase in java using spring framework. When ever i try to authenticate a user using the provided emailId and password i am getting a 400 Error, but the emailId ...
1
vote
1answer
26 views

How to display a Firebase Auth error on signUp method?

I can't find a way to display if the user was created successfully or not. I've tried to use if(errorToast!=null) but it didn't work. firebase.auth().createUserWithEmailAndPassword(userEmail, ...
1
vote
1answer
25 views

Best Approach to Present Modals After App Reaches Foreground

Users within my iOS application have two states, logged in and logged out. I am using firebase sdk for auth and realtime database data delivery. For logged in users, I want to present custom in-app ...
0
votes
1answer
16 views

FirebaseAuth is changing my current Auth UID

I'm making an app that registers a user which I'm creating manually from Firebase Authentication panel. After I login with that user my Auth is equal to the auth I have on Firebase So far that login ...
0
votes
0answers
21 views

Firebase Permisson denied after updating android app from play store

I have developed an app that uses Firebase phone auth and cloud firestore database and I have published it on the play store. My problem is when I update the app from the play store I got an exception ...
1
vote
2answers
20 views

Firebase Auth: getCurrentUser from different Activities?

I have an app with a login screen. Now, i just want to get the DisplayName of the user which is signed in in another Activity. How can I get this name?
0
votes
1answer
15 views

Firestore security rules for specific document

I am trying to apply the following situation : all authenticated users have read and write access to the database except for admin document. Admin document is accessible only for him for read and ...
0
votes
0answers
19 views

Firebase RecaptchaVerifier: Unknown element

I have been trying to implement Firebase Phone Number Authentication with my VueJS project. I had setup everything as required: firebase project setup, enabling sign-in method, required HTML. Whenever ...
0
votes
1answer
20 views

Firebas Auth - Import Users as Disabled

I'm importing users from my company's G Suite account to a Firebase application. The import follows the 'import users without passwords' process to import the users with Google as the OAuth Provider. ...
0
votes
0answers
20 views

mauth.signInWithEmailAndPassword crashes my Android app

I'm trying to authenticate a user using firebase authentication but while the function mAuth.signInWithEmailAndPassword() crashes the application. The email id and password are saved in the Firebase I ...
0
votes
0answers
14 views

How firebase authentication stay in the logged in state even after the reload in an angularDart app?

I am trying to implement firebase authentication in an angularDart app with the help of the following link, in my project the login works successfully but as I try to reload the project in the browser ...
0
votes
0answers
10 views

Confirm important operation by password using Firebase Auth

What method should one use to ask users for the password input again right before an important workflow step? I have 2 main reasons for it: Refresh current user session Draw more attention to the ...
0
votes
1answer
25 views

how to know if the users signed in or up using google or facebook sign button android firebase [duplicate]

I am using firebase in my android firebase app. I am using with it google sign and facebook sign. My problem is that google's and facebook sign buttons used to make sign up and sign in in the same ...
0
votes
0answers
11 views

Firebase Auth Custom Claim Security

I am making a task management app using Firestore. Now I have certain tasks and with some super-admin, admin, user-level privileges. 1: Super-Admin privilege: Can do any kind of edit, delete, add. ...
0
votes
1answer
17 views

cordova firebase google login - Login Error!! error: The redirect operation has been cancelled by the user before finalizing

The sign in page opens and I log in with my Gmail id then it directs back to the app then shows this error. Not sure where I am missing. I have added only two js file for firebase. firebase-app.js ...
0
votes
2answers
17 views

compile 'com.firebaseui:firebase-ui-auth:0.4.0' gradle build error

i am creating a chat based app in this app its require AuthUI i used compile 'com.firebaseui:firebase-ui-auth:0.4.0' when i clicked on sync its show me this error Error:Execution failed for task ...
0
votes
0answers
10 views

How do I send Firebase token to backend (Node / Express) via HTTPS?

I know this question has been asked here: How do I send Firebase token to backend (Node / Express) via HTTPS The best answer was not very clear to me. Can anyone please direct me in the right ...
0
votes
0answers
15 views

Ionic - i use firebase signInWithRedirect with google for signin, back button is not visible

i click on button for login in google signin (open google login), the back button for return app is not visible. I Use IOS and Ionic3 (Hybrid Mobile App). This is my code .ts import { AngularFireAuth ...
-1
votes
1answer
39 views

Firebase UI auth sign in error api exception

Just wondered if anyone is using firebase auth ui 4.2.0 When I start the auth process with a startActivityForResult I get the error back... E/AuthUI: A sign-in error occurred. com.firebase.ui....
0
votes
0answers
13 views

Firestore Phone Authentication Recovery

My future app as any other apps using firebase phone authentication may come across a situation where a user changed his phone number and/or his entire device, a new installation and a new ...
0
votes
0answers
22 views

Firebase rules warning validation [duplicate]

I have a code for my dynamic queries that will return the proper result that I have to use but its display a warning in console and lots of warning is there for every record This is my queries :: ...
0
votes
0answers
10 views

Firebase JS Error: getToken aborted due to token change

I'm getting a Firebase error "Error: getToken aborted due to token change" while running Firestore transaction using the JavaScript library. The error doesn't get thrown every time and I couldn't find ...
0
votes
0answers
12 views

Can you prevent Firebase Google Login until linked with password account

tl;dr: I'd like to allow google login to an app, but only after a password account has been created and the google account has been linked to it. At present, anyone can log into the app using Google ...
-1
votes
3answers
85 views

Firebase OnDataChange problem datasnapshot, retrieving boolean [on hold]

Hello I've been dealing with this for days now and cant figure it out how to do this. This is my database structure: So I need to get the value for isAdm which is a boolean in order to tell the fab ...
0
votes
1answer
73 views
+200

Only authenticate with Google Auth Provider if user exists

I am using Firebase to authenticate users in our app using GoogleAuthProvider. But I don't want a new user to sign in if they are not already an authenticated user. If the user exists then sign them ...
1
vote
0answers
15 views

Firebase Email and password Authentication fails mAuth.signInWithEmailAndPassword(email, password).addOnCompleteListener((task)

This is my CustomerLoginRegisterActivity.java that gets customer's Email and password for login and registers email and password to firebase if they don't have an account, i refered this tutorial : ...
0
votes
3answers
79 views

Failed to resolve: firebase-auth-15.0.0 [on hold]

Hello fellow developer i'm new to Android Development I just want to know how to resolve this kind of problem because i need to connect my app to firebase. apply plugin: 'com.android.application' ...
0
votes
0answers
19 views

Firebase Auth to sign-in google not working in Framework7

I have setup Firebase admin structure and generate all required id, key and token. With Firebase email and password auth it works fine. But when implementing Google signin it fails. Please help. ...
0
votes
2answers
26 views

Null error when I want my firebase user id with currentUser()

Error NoSuchMethodError: The method 'currentUser' was called on null. Receiver: null Tried calling: currentUser() I'm interesting in know where i need to using this code: String _uid = ''; ...
0
votes
1answer
53 views

Registration while using Firebase is not working

I'm trying to make registration while using google firebase but it is not working. During this, Dialogue box continuously loading and nothing is happening even after couple of minutes. I have added ...
0
votes
2answers
24 views

Where can I find my Firebase apiKey and authDomain

Where can I find my Firebase apiKey and authDomain? I'm setting up my environment to connect to my database. export const environment = { production: false, firebase: { apiKey: '...', ...
0
votes
1answer
22 views

How can one fetch the authorized users along with their details in Firebase

I have a Firebase project, which I'm currently using with android. I need to programmatically fetch details of the users authorized along with the UID, Email, etc. Exactly the way it is shown in ...
0
votes
1answer
37 views

How to prevent “Firestore, Provided document path must not be null” error?

I have an android app which have ~2k active users right now. It uses Firebase Firestore database for saving user data and other stuff. But recently I got this error and crash reports from my ...
0
votes
1answer
43 views

Firebase Authentication Android : Delete Any Authenticated User [duplicate]

I have created one application, in that I am managing three levels of users like "Admin", "Sub Admin" and "Customers" Now I am adding Functionality of "Delete Sub Admin" that I want to remove from ...
3
votes
1answer
53 views

Firebase user stored in localstorage doesn't work? (javascript)

I'm saving the user object in localstorage upon creation (to be sure i can use it later inside a custom function, outside the authStateChanged): const promise = auth.createUserWithEmailAndPassword(...
0
votes
0answers
20 views

Create an user with firebase-admin, nodejs and angular 6

I want -as an admin- to create an user with firebase-admin using node.js and handle all that inside an Angular 6 App. The firebase-admin in node.js works like a charm but when I have to implement the ...
-3
votes
2answers
27 views

Can't retrieve user data form Firebase

I have the following firebase structure: Users" : { "angelbreath" : { "PvP_Wins" : 0, "PvP_scores" : 0, "avatar" : "https://i.imgur.com/qp9gnKE.png", "gender" : "Male", "...
1
vote
1answer
25 views

Firebase auth().createUser - Error while making request: timeout of 10000ms exceede

I'm trying to include a list of users (more than 50) through a specific function in Firebase. Here's my code: Object.keys(newUsers).forEach((key) => { console.log(newUsers[key]['name']); ...
0
votes
1answer
16 views

Firebase function linkAndRetrieveDataWithCredential doesn't work

To link an anonymous user to a newly-created user via email&pass I use the following function linkAndRetrieveDataWithCredential For some reason I get the following error: ...