firebase-authentication

Android Firebase Auth - Get User's Photo

痞子三分冷 提交于 2019-12-29 04:47:11
问题 How can I retrieve a photo of the user with decent resolution that can be used from a mobile app? I looked at the guides and the api docs and the recommended way seemed to be to use FirebaseUser#getPhotoUrl(). This however gives back a url to a photo with resolution 50x50 px, which is too low to be useful. Is there a way for the client to request a higher res photo of the user? I've tested the sdks of Facebook Login and Google Sign-in separately, and in both cases the resolutions of the

Firebase 3.3.x Nodejs - createUserWithEmailAndPassword is not a function

假如想象 提交于 2019-12-28 18:31:30
问题 I've seen a lot of questions about this, but what confuses me is on the documentation of firebase x nodejs there is a function createUserWithEmailAndPassword() . Everytime I print firebase.auth() it only has these functions : { createCustomToken: [Function], verifyIdToken: [Function], INTERNAL:{ delete: [Function], getToken: [Function], addAuthTokenListener: [Function], removeAuthTokenListener: [Function] } } Also, under the same nodejs documentation, the firebase.auth() says : auth(app)

How to get access to native Firebase object when using angularfire2?

笑着哭i 提交于 2019-12-28 16:51:09
问题 I'm using AngularFire2 (2.0.0-beta.2) incombination with angular2 (2.0.0-rc.4). I'd like to get access to the native firebase object (not the AngularFire root object) from Angularfire2. Within my component, I want to make calls like: firebase.auth().currentUser.updateEmail("user@example.com") where firebase is the native firebase object, like that you get from the fragment below: <script src="https://www.gstatic.com/firebasejs/3.1.0/firebase.js"></script> <script> // Initialize Firebase //

How to add additional information to firebase.auth()

戏子无情 提交于 2019-12-28 15:50:08
问题 How can I add extra attributes phone number and address to this data set? It seems like Firebase documentation doesn't specify anything about that. I have implemented the login, register and update using firebase.auth() Login : //Email Login firebase.auth().signInWithEmailAndPassword(email, password).then( ok => { console.log("Logged in User",ok.user); }, error => { console.log("email/pass sign in error", error); } ); Register: //Sign Up firebase.auth().createUserWithEmailAndPassword(email,

How deal with cold start of an app where user has beeing logged with Firebase at previous run

扶醉桌前 提交于 2019-12-28 06:50:55
问题 Thank to Firebase the user can logged with the help of G+, Facebook or Twitter. When they are logged, everything is fine. When the Android app is closed and re-opened, how to reenable the previous succeed logged user with the Firebase API. It is not explained neither in the app demo or in the documentation. For exemple for Facebook, the sdk seems to save the token, that 's why the button is at connected state (showing that you can disconnect). But what about Firebase and for other

Firebase reset password link not working

女生的网名这么多〃 提交于 2019-12-28 05:58:32
问题 I am using firebase to authenticate users in my android app. I provide user an option to reset password in login window. When user click on button, it sends email successfully. However when user clicks on link, it always showing " Try resetting your password again . Your request to reset your password has expired or the link has already been used" Anyone knows where I'm Wrong ? I tried login with different email IDs from different devices. Still not working. I am using ' com.google.firebase

Secure HTTP trigger for Cloud Functions for Firebase

别说谁变了你拦得住时间么 提交于 2019-12-28 05:42:04
问题 Is there a way to check if a user is firebase-authorized before triggering a cloud function? (Or within the function) 回答1: Yes. You will need to send the Firebase ID token along with the request (for example in the Authorization header of an AJAX request), then verify it using the Firebase Admin SDK. There is an in-depth example in the Cloud Functions for Firebase samples repository. It looks something like this (made shorter for SO post): const functions = require('firebase-functions');

Ionic2 authentication firebase

♀尐吖头ヾ 提交于 2019-12-28 02:06:39
问题 I am creating a system of authentication by number of cell phone in ionic 2, for that I use the google guide First, I believe a firebase.auth.RecaptchaVerifier (Is one of the necessary parameters) this.autVer = new firebase.auth.RecaptchaVerifier('contCatcha', { 'size': 'invisible', 'callback': function (response) { // reCAPTCHA solved, allow signInWithPhoneNumber. } }); and laster use auth.signInWithPhoneNumber angularfire this.afAuth.auth.signInWithPhoneNumber("+57" + this.numeroCelular,

Dependancy error when integrating android studio project with Firebase for a google sign in feature

梦想与她 提交于 2019-12-27 10:48:05
问题 I'm developing an app in Kotlin and keep getting the error: Failed to resolve: firebase-auth-15.0.0` when trying to sync gradle. I'm trying to implement a google sign in feature. apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' apply plugin: 'com.google.gms.google-services' android { compileSdkVersion 28 defaultConfig { applicationId "nus.is3261.kotlinapp" minSdkVersion 21 targetSdkVersion 28 versionCode 1 versionName "1.0"

Get user's phone number from C++ using Firebase

微笑、不失礼 提交于 2019-12-25 18:57:49
问题 I'm trying to check user's phone number on the server side with C++. Client side looks ok, but on the server side I can only decode JWT from client and find out Firebase ID of the user, but of course this is not what I need. I still need to know phone number of the user, and I understand that I can do this with user ID and Firebase admin SDK, but I can't find admin SDK for C++ or any web-API which I could use from everywhere. So, how can I know user's phone number from C++? 回答1: There is no