firebase-authentication

Proper way to verify user's mobile number using Firebase

我是研究僧i 提交于 2020-08-27 07:19:25
问题 I know that I can use Firebase's phone verification on Android and iOS , but the problem is that the information about client's verification can easily be forged on the client side, because I using only server side SSL certificate, so, only client knows that the server is trusted. So, I decided to send mobile number on the server-side and check it there: send verification code and ask this verification code from the user. But I can't see any C++ server Firebase SDK , only client-side C++ SDK

Firebase Google signInWithRedirect not redirecting to specified page on successful authentication

吃可爱长大的小学妹 提交于 2020-08-26 01:25:07
问题 Little bit help/explanation needed with the following problem. I am using Vue and Firebase for my project. I am trying to set up the Firebase Google sign-in by calling signInWithRedirect . Authentication itself works, however not exactly how I want it. I need it to redirect to /dashboard after authentication takes place, but currently it redirects back to /login page after a short loading. I understand that I have to use getRedirectResult , but I am not sure how exactly call it. Would be very

Firebase Google signInWithRedirect not redirecting to specified page on successful authentication

眉间皱痕 提交于 2020-08-26 01:22:50
问题 Little bit help/explanation needed with the following problem. I am using Vue and Firebase for my project. I am trying to set up the Firebase Google sign-in by calling signInWithRedirect . Authentication itself works, however not exactly how I want it. I need it to redirect to /dashboard after authentication takes place, but currently it redirects back to /login page after a short loading. I understand that I have to use getRedirectResult , but I am not sure how exactly call it. Would be very

Firebase Authentication : how to get current user's Password?

北战南征 提交于 2020-08-24 08:22:39
问题 i'm new to firebase Authentication .. so, i'm creating a basic app with a profile, i've made an activity to edit basic informations of the user such as DisplayName and Email ... , i wan't to add the capability of changing passwords, but first , i wan't to check current user's password and compare it to a String from an InputEditText that the user must know his current password before changing it. EDIT : the thing i'm asking about is i ask the user to write his current Password in order to be

How to Signout a user in Flutter with Firebase authentication

穿精又带淫゛_ 提交于 2020-08-22 07:43:22
问题 I have a problem signing out the current user from my app the method I am using is as follows: .... onPressed:_signOut //jump to function void _signOut() { FirebaseAuth.instance.signOut(); FirebaseUser user = FirebaseAuth.instance.currentUser; //print('$user'); runApp( new MaterialApp( home: new LoginPage(), ) ); } So now when I press the button it should sign the user out and redirect them to the home page which they will have to login again, however, the redirecting happens but the user