firebase-authentication

How to communicate firebase webapp with chrome extension to avoid double login

爷,独闯天下 提交于 2021-02-07 19:49:26
问题 I have a problem with creating a communication between the external webpage and chrome extension. I suppose I need something like this. User tries to log in with login form on "example.com" using Firebase Auth (using google/Fb/email - password providers) If User logged in successfully, then the same credentials are sending to the chrome extension The extension calls signInWithCredential with taken credentials, and try to log in again If everything is ok, then User can work with firebase dB

How to communicate firebase webapp with chrome extension to avoid double login

南楼画角 提交于 2021-02-07 19:47:29
问题 I have a problem with creating a communication between the external webpage and chrome extension. I suppose I need something like this. User tries to log in with login form on "example.com" using Firebase Auth (using google/Fb/email - password providers) If User logged in successfully, then the same credentials are sending to the chrome extension The extension calls signInWithCredential with taken credentials, and try to log in again If everything is ok, then User can work with firebase dB

How to share Authentication token between app in Firebase 3.0?

好久不见. 提交于 2021-02-07 14:44:38
问题 In older version of Firebase we can obtain authenticated token for sharing between our app, extensions. But when upgrade to Firebase 3.0, that function doesn't work anymore. I've use getTokenWithCompletion: on FIRUser, then in my App Extension I call signInWithCustomToken:completion: with token i just obtained. But Firebase return an error with messgage: Error Domain=FIRAuthErrorDomain Code=17000 "The custom token format is incorrect. Please check the documentation." UserInfo=0x799b6010

Mobile OTP Verification without signing in using Firebase Phone Auth

故事扮演 提交于 2021-02-07 14:39:34
问题 I am currently making an android app where I need to verify if the user is entering correct mobile number using the OTP. The user is already signed in the application using his email and password. Now I need to verify the mobile number the user enters without using the signInWithCrendntial() method of firebase phone auth. How do i go about it ? My mCallbacks is @Override public void onVerificationCompleted(PhoneAuthCredential credential) { Toast.makeText(getApplicationContext(), "Verification

Mobile OTP Verification without signing in using Firebase Phone Auth

大憨熊 提交于 2021-02-07 14:39:02
问题 I am currently making an android app where I need to verify if the user is entering correct mobile number using the OTP. The user is already signed in the application using his email and password. Now I need to verify the mobile number the user enters without using the signInWithCrendntial() method of firebase phone auth. How do i go about it ? My mCallbacks is @Override public void onVerificationCompleted(PhoneAuthCredential credential) { Toast.makeText(getApplicationContext(), "Verification

Mobile OTP Verification without signing in using Firebase Phone Auth

百般思念 提交于 2021-02-07 14:35:15
问题 I am currently making an android app where I need to verify if the user is entering correct mobile number using the OTP. The user is already signed in the application using his email and password. Now I need to verify the mobile number the user enters without using the signInWithCrendntial() method of firebase phone auth. How do i go about it ? My mCallbacks is @Override public void onVerificationCompleted(PhoneAuthCredential credential) { Toast.makeText(getApplicationContext(), "Verification

Firebase JS Error: getToken aborted due to token change

折月煮酒 提交于 2021-02-07 13:28:38
问题 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 the pattern. I suppose I've implemented some race conditions somewhere. The user flow in my app goes like this: Register a new account & submit an additional string in the same form Log user in after registration using the same credentials After log in, take that additional string and save it

Firebase JS Error: getToken aborted due to token change

爱⌒轻易说出口 提交于 2021-02-07 13:25:40
问题 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 the pattern. I suppose I've implemented some race conditions somewhere. The user flow in my app goes like this: Register a new account & submit an additional string in the same form Log user in after registration using the same credentials After log in, take that additional string and save it

com.google.firebase.FirebaseException: An internal error has occurred. [ CONFIGURATION_NOT_FOUND ]

半城伤御伤魂 提交于 2021-02-07 12:17:13
问题 Ok so I get the following exception. No idea why it is happening. I have followed the guides how to set up auth for google account. I tried to search the google but no success of any solution for this. I haved tried to search for the CONFIGURATION_NOT_FOUND but I could not find it in the firebase docs. I don't know what configuration he can't find. Exception is basically useless. Signing in trough firebase is going great until authenticating it with firebase: private void

com.google.firebase.FirebaseException: An internal error has occurred. [ CONFIGURATION_NOT_FOUND ]

爱⌒轻易说出口 提交于 2021-02-07 12:16:35
问题 Ok so I get the following exception. No idea why it is happening. I have followed the guides how to set up auth for google account. I tried to search the google but no success of any solution for this. I haved tried to search for the CONFIGURATION_NOT_FOUND but I could not find it in the firebase docs. I don't know what configuration he can't find. Exception is basically useless. Signing in trough firebase is going great until authenticating it with firebase: private void