firebase-authentication

Changing the domain shown by Google Account Chooser

蓝咒 提交于 2020-07-28 00:17:25
问题 In a web app we are using Firebase Auth to manage logins and (basic) account creation. When using the Google Login option with the user active with more than one Google account, the user is shown the Google Account Chooser to choose which of the accounts to use on our site. Its heading looks something like this: Choose an account to continue to mydomain.com In my web app's case, instead of showing mydomain.com , it is showing <firebase-project-id>.firebaseapp.com . What do I have to do to

Changing the domain shown by Google Account Chooser

杀马特。学长 韩版系。学妹 提交于 2020-07-28 00:13:30
问题 In a web app we are using Firebase Auth to manage logins and (basic) account creation. When using the Google Login option with the user active with more than one Google account, the user is shown the Google Account Chooser to choose which of the accounts to use on our site. Its heading looks something like this: Choose an account to continue to mydomain.com In my web app's case, instead of showing mydomain.com , it is showing <firebase-project-id>.firebaseapp.com . What do I have to do to

Firebase.default.auth().currentUser.uid is null after createUserWithEmailAndPassword()

时光总嘲笑我的痴心妄想 提交于 2020-07-23 07:49:04
问题 I'm trying to create a new document on my "users" collection on Firebase for any new user created on the Signup screen for my React-Native app, and the document is supposed to include the new user's uid, first name, last name, phone number, and date of birth. The issue is, after I use createUserWithEmailAndPassword to create a user, when I try to grab the uid with currentUser.uid, I get the following error: null is not an object (evaluating '_Firebase.default.auth().currentUser.uid'). I've

Firebase.default.auth().currentUser.uid is null after createUserWithEmailAndPassword()

余生长醉 提交于 2020-07-23 07:48:27
问题 I'm trying to create a new document on my "users" collection on Firebase for any new user created on the Signup screen for my React-Native app, and the document is supposed to include the new user's uid, first name, last name, phone number, and date of birth. The issue is, after I use createUserWithEmailAndPassword to create a user, when I try to grab the uid with currentUser.uid, I get the following error: null is not an object (evaluating '_Firebase.default.auth().currentUser.uid'). I've

I don't want to get out of my application when update the password on firebase

只谈情不闲聊 提交于 2020-07-23 07:40:07
问题 Iam programming on backend side, when i update the password on firebase my app logout admin.auth().getUserByEmail(email).then(user => { const { uid } = user admin.auth().updateUser(uid,{ password, }) I don't want to get out of my application. when I edit my password, I think the TOKENS are destroyed and my application rejects me, my user goes out of the application I just want to update my password I don't want to quit the application i should change the password from backend as well?,

I don't want to get out of my application when update the password on firebase

五迷三道 提交于 2020-07-23 07:39:09
问题 Iam programming on backend side, when i update the password on firebase my app logout admin.auth().getUserByEmail(email).then(user => { const { uid } = user admin.auth().updateUser(uid,{ password, }) I don't want to get out of my application. when I edit my password, I think the TOKENS are destroyed and my application rejects me, my user goes out of the application I just want to update my password I don't want to quit the application i should change the password from backend as well?,

I don't want to get out of my application when update the password on firebase

ぐ巨炮叔叔 提交于 2020-07-23 07:38:20
问题 Iam programming on backend side, when i update the password on firebase my app logout admin.auth().getUserByEmail(email).then(user => { const { uid } = user admin.auth().updateUser(uid,{ password, }) I don't want to get out of my application. when I edit my password, I think the TOKENS are destroyed and my application rejects me, my user goes out of the application I just want to update my password I don't want to quit the application i should change the password from backend as well?,

Get user data from Firebase

两盒软妹~` 提交于 2020-07-23 06:16:08
问题 I'm trying to get user data from their uid and use it on text widget. Should I create getCurrentUser method to get the data? I have tried using querysnapshots but it did nothing. Here is the code : Expanded( child: Container( margin: EdgeInsets.only(top: 10.0), child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: <Widget>[ Text('Name'), Text('Email@email.com'), Text('+02112345678'), ], ), ), ), Here is the update : Expanded( child: Container( margin: EdgeInsets.only(top: 10

Get user data from Firebase

安稳与你 提交于 2020-07-23 06:15:07
问题 I'm trying to get user data from their uid and use it on text widget. Should I create getCurrentUser method to get the data? I have tried using querysnapshots but it did nothing. Here is the code : Expanded( child: Container( margin: EdgeInsets.only(top: 10.0), child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: <Widget>[ Text('Name'), Text('Email@email.com'), Text('+02112345678'), ], ), ), ), Here is the update : Expanded( child: Container( margin: EdgeInsets.only(top: 10

Get user data from Firebase

自作多情 提交于 2020-07-23 06:14:11
问题 I'm trying to get user data from their uid and use it on text widget. Should I create getCurrentUser method to get the data? I have tried using querysnapshots but it did nothing. Here is the code : Expanded( child: Container( margin: EdgeInsets.only(top: 10.0), child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: <Widget>[ Text('Name'), Text('Email@email.com'), Text('+02112345678'), ], ), ), ), Here is the update : Expanded( child: Container( margin: EdgeInsets.only(top: 10