firebase-authentication

Firebase Error cannot access zzanb after using play-services-xxx:9.8.00

心不动则不痛 提交于 2019-12-18 05:55:33
问题 I got the below message when I use newest version of com.google.android.gms:play-services-xxx:9.8.00 Error:(32, 28) error: cannot access zzanb class file for com.google.android.gms.internal.zzanb not found The error was caused by invoking statement: FirebaseAuth.getInstance().getCurrentUser().getUid(); How can I fix this problem? Thank you. UPDATE: Problem was solved The newest updated of firebase version 9.8.0 is compatible with the google-service version 9.8.0. Now, everything works

Firebase signInWithEmailAndPassword() 400() POST Error

China☆狼群 提交于 2019-12-18 05:54:30
问题 I’m currently implementing the new firebase auth() in my angularjs app and every time I call firebase.auth().signInWithEmailAndPassword(email, password) it does return my promise and error / user object, but at the same time throws the following error in the console: POST https://www.googleapis.com/identitytoolkit/v3/relyingparty/verifyPassword?key=[myKey] 400 () firebase.min.js:110 Seems to be working as expected but I don't like errors in my console :3 EDIT: Full console error (minified

How to update Google Play Services to 9.8.7

前提是你 提交于 2019-12-18 05:47:15
问题 I am trying to implement firebase in android project but always getting: Google Play services out of date . Requires 9877000 but found 9683480 My graddle project/app files look like: ... compile 'com.google.firebase:firebase-core:9.8.0' compile 'com.google.firebase:firebase-database:9.8.0' compile 'com.google.firebase:firebase-auth:9.8.0' } apply plugin: 'com.google.gms.google-services' and dependencies { classpath 'com.android.tools.build:gradle:2.2.2' classpath 'com.google.gms:google

Angular firebase email verification false after verify

会有一股神秘感。 提交于 2019-12-18 05:36:21
问题 I'm setting up an authorisation function with e-mail and password. Everything works fine but when i create a new user, the application sends an e-mail with a verification link. After i verify the e-mail adres I want to login so i get back to the login form. the emial_verified keeps staying at 'false', after i hard reload the page this is 'true', but not when i come frome the verification page back to the login page. Can someone help me? constructor( public afs: AngularFirestore, // Inject

Firebase Phone Authentication credentials linking with Google login in firebase

柔情痞子 提交于 2019-12-18 04:54:09
问题 I have implemented two step authentication in my app using firebase authentication in which I have used gmail, facebook or simple email login for authenticating. As digits phone verification has migrated to firebase i have implemented firebase phone authentication by linking the existing logged in account (facebook, gmail, or email) with phone authentication credentials. It works fine when used with facebook and email account. When user is logged in through google and tries to verify mobile

How can handle separate login for two types of users in same firebase app?

旧城冷巷雨未停 提交于 2019-12-18 04:51:43
问题 I have a scenario and looking solution for that. I am working on an application and Using Firebase to create and authenticate the User. In my app, basically two types of users (1.User & 2. Vender) and User can signIn on app but vender need to login on web panel. We are using firebase default method (.createUser) to create user and it's already working. Now I wants to create Vender profile too in same app but Vender can login only on web app and user can login on Mobile app. Is it possible ?

Firebase Authentication connect Email with Phone

烈酒焚心 提交于 2019-12-18 04:42:22
问题 I am currently using Email and Phone number authentication using Firebase. And i have 3 EditText for: Email Phone Number Password But the problem is when the user is done registering it obviously creates 2 instance of accounts, one for the Email and second for the Phone number . I would like to link the Email and Phone number together as one account. Is there any way to do that? 回答1: Depending on whether you want to allow for signing in with either email or phone number, or if you want to

Firebase create user with email, password, display name and photo url

我的未来我决定 提交于 2019-12-18 04:42:18
问题 According to Firebase site, I am using this code to create a new user: firebase.auth().createUserWithEmailAndPassword(email, password).catch(function(error) {}); How can I add display name and photo url to Auth when creating the new user? This link shows the supported user data returned from an identity provider in Auth. 回答1: You can update your profile with FIRUserProfileChangeRequest class .. check this Doc. let user = FIRAuth.auth()?.currentUser if let user = user { let changeRequest =

Firebase authentication asp.net core

 ̄綄美尐妖づ 提交于 2019-12-18 03:00:07
问题 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 following JwtBearerOptions : var options = new JwtBearerOptions { Audience = "myApp", Authority = "https://securetoken.google.com" }; and var options = new JwtBearerOptions { Audience = "myApp", Authority = "https://securetoken.google.com/myApp" }; Unfortunately this is not working. My Auhtority url is

Firebase Android onAuthStateChanged() fire twice after signInWithEmailAndPassword()

心已入冬 提交于 2019-12-18 02:38:12
问题 When I use signInWithEmailAndPassword() to login the onAuthStateChanged() always fire twice. I'm very sure that the listening is only added once to firebaseAuth, and I have the code in onStop()` to remove the listener after that. Anyone know how to solve this? My code: public class SignInActivity extends BaseActivity implements View.OnClickListener, GoogleApiClient.OnConnectionFailedListener{ private static final String PREF_KEY_USER_EMAIL = "User_Email"; private static final int RC_SIGN_IN =