firebase-authentication

Why firebase phone auth requires a custom URL scheme to be registered in Xcode?

▼魔方 西西 提交于 2019-12-13 17:15:37
问题 If my understanding is right, custom URL schemes are registered to launch the app using a different url. For example: if custom scheme foo is registered, then the app can be launched using foo://<params> url. If that is the case, why firebase phone auth requires registering a custom URL scheme? 回答1: Firebase Auth for iOS requires a custom scheme in case an APNs token is not available for whatever reason. This is needed since phone auth in iOS relies on push notifications for security purposes

Registration user using firebase throug email and password?

血红的双手。 提交于 2019-12-13 17:08:08
问题 I created register activity with Firebase Authorization, and trying to register new user, but when I press register button I got exception from my code protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_register); etUsername = (EditText) findViewById(R.id.etUserName); etEmail = (EditText) findViewById(R.id.etEmailRegiter); etPassword = (EditText) findViewById(R.id.etPasswordRegiter); etPasswordRe = (EditText) findViewById

Can android certificate fingerprint sha1 use in firebase and Google Place API?

一世执手 提交于 2019-12-13 17:05:06
问题 I would like to know if we can use the same certificate fingerprint SHA1 in Firebase and for Google Maps API? Before this, I'm using my certificate fingerprint SHA1 for Firebase Sign-In authorization. However, for Google Places API, I have to use a certificate fingerprint SHA1 too. First, I deleted fingerprint SHA1 at Firebase console and add it into Google Places API. Next, I add the fingerprint SHA1 at Firebase,but I'm getting a message saying: An error occurred when attempting to modify an

Firebase custom token authentication (firebase version 3)

 ̄綄美尐妖づ 提交于 2019-12-13 16:49:34
问题 I have an authentication server (NodeJS) where I authenticate a user and create a custom firebase token var token = firebase.auth().createCustomToken(userId); I used to be able to verify a user token (previous version), but now it is not so simple... I would like to get the decoded userId from the token firebase.auth().verifyIdToken(token).then(function).... does not work for server generated custom tokens. Does anyone know how this could be done? 回答1: You should be using jsonwebtoken to

How to use confirmPasswordReset(code, newPassword) in firebase API?

佐手、 提交于 2019-12-13 15:27:16
问题 I am going to use 2 firebase APIs for forgot password function. 1 sendPasswordResetEmail 2 confirmPasswordReset When I called sendPasswordResetEmail, Firebase Api sent password reset url to my email,but now I have to get verify code to be param of confirmPasswordReset. I want to know where does "code" comes from in confirmPasswordReset function. (I can't see code in my email, Firebase API only sent password reset url) 回答1: The code is present in the clickable link that's in the email Firebase

request.auth.uid seems to always be null in Cloud Firestore rules

主宰稳场 提交于 2019-12-13 15:16:29
问题 I must be missing something really basic here... but any time I make a call to my Cloud Firestore db and I try to institute any kind of rules for security, they always fail. Doing something like match /users/{userId} { allow create, read, update: if true; } works, but it obviously defeats the point. However, if I do any kind of additional scrutiny, such as the go-to example in all the docs like match /users/{userId} { allow create, read, update: if request.auth.uid != null; } it fails every

Android - Firebase - The email address is badly formatted

柔情痞子 提交于 2019-12-13 15:04:33
问题 Aim Allow users to register their preferred display name , home address , email , and password by utilizing Firebase Authentication (Email and Password) Java Class import android.content.Intent; import android.support.annotation.NonNull; import android.support.design.widget.TextInputLayout; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.Toast; import com.google

User info not loading into firebase auth

孤者浪人 提交于 2019-12-13 14:45:20
问题 I am trying to create a very simple login with Facebook using firebase and android studio. My login with Facebook works and I was able to run the app and sign in but none of my info has been stored in firebase (I want to have the persons name, email, etc.) I know it's something small I am probably missing but I cannot figure it out and I have tried so many things. Also I checked and all my gradle files are up to date and my firebase is set up correctly so it has nothing to do with that. plz

Send Firebase Reset Password Email After Account Created On Server/Admin

爷,独闯天下 提交于 2019-12-13 14:27:35
问题 I'm creating a website where businesses can offer my service to their clients/users for free. For a business to add a user (under their business account), the business logs in and inputs one of their clients/users email. I then send the client/user email to firebase functions and programmatically create an account. I would like to send this new user a email saying something like 'Account Created: Reset Password' etc., I could do this using sendPasswordResetEmail on the browser, but this

Android manifest merger with facebook and firebase libraries

强颜欢笑 提交于 2019-12-13 13:00:03
问题 I've imported in my project 2 libraries (in gradle file): ... /* Firebase UI */ compile 'com.firebaseui:firebase-ui:0.4.0' /* Facebook login */ compile 'com.facebook.android:facebook-android-sdk:4.13.0' but when building my project I have the following error: D:\Android\Projects\quoter\app\src\main\AndroidManifest.xml:68:13-58 Error: Attribute activity#com.facebook.FacebookActivity@theme value=(@style/FirebaseUI.Translucent) from [com.firebaseui:firebase-ui-auth:0.4.0] AndroidManifest.xml:68