firebase-authentication

Swift - Firebase Auth with Microsoft Graph (Redirect URL Problem)

这一生的挚爱 提交于 2021-02-10 20:34:58
问题 I'm having a problem integrating Firebase with Microsoft Auth in my iOS App. The login page has been launched and I can sign in by Office365 account but login auth can not be finished because of the below Error : "AADSTS50011: The reply url specified in the request does not match the reply urls configured for the application:[app-id]" I did check the setting in Firebase and below are the settings I add in the app of Azure Active Directory : Web redirect URL : "*.firebaseapp.com/__/auth

Angular 4 app on S3 denied access after redirect

a 夏天 提交于 2021-02-10 20:20:27
问题 I've built a simple angular 4 app that uses firebase as my authentication. And I use loginWithRedirect because loginWithPopup didn't work really on my cell phone. But the problem I'm running into is the redirect leaves the page, obviously, to authenticate, and then comes back to mysite.com/login but because its a SPA /login doesn't exist to the bucket I'm guessing. I've added this redirection rule, but it doesn't seem to be doing anything <RoutingRules> <RoutingRule> <Condition>

Angular 4 app on S3 denied access after redirect

懵懂的女人 提交于 2021-02-10 20:18:34
问题 I've built a simple angular 4 app that uses firebase as my authentication. And I use loginWithRedirect because loginWithPopup didn't work really on my cell phone. But the problem I'm running into is the redirect leaves the page, obviously, to authenticate, and then comes back to mysite.com/login but because its a SPA /login doesn't exist to the bucket I'm guessing. I've added this redirection rule, but it doesn't seem to be doing anything <RoutingRules> <RoutingRule> <Condition>

Customize validation & text in Firebase reset password form?

梦想的初衷 提交于 2021-02-10 20:17:14
问题 I use Firebase Authentication in my flutter app. I use PIN instead of normal password which is I strictly defined 6-digit number. In the case my user forgot their PIN, my only option (or not?) is by calling the sendPasswordResetEmail method. await firebaseAuth.sendPasswordResetEmail(email: userEmail); The problem is they can type any new password in the Firebase reset password input and breaking the rule for 6-digit numeric only. Is there any way to customize the validation, caption text, etc

updatePhoneNumber failed: First argument “phoneCredential” must be a valid phone credential

我怕爱的太早我们不能终老 提交于 2021-02-10 17:38:15
问题 I am trying to updatePhoneNumber and keep getting the following error above. Looking at the docs I was under the impressing this is a method? Js: user.updatePhoneNumber({ phoneNumber: "+15618104444", }); I tried setting this in the updateProfile Method as well and still no luck. user.updateProfile({ displayName: displayName, photoURL: photoURL, phoneNumber: "+15618104444" }); 回答1: updatePhoneNumber requires a phone credential since the phone number needs to be verified by SMS. // 'recaptcha

Uncaught TypeError: (0 , _firebase.auth) is not a function

北城以北 提交于 2021-02-10 16:00:34
问题 Trying to use Firebase authentication in a React app. I followed the instructions in the firbase docs. installed firebase with npm added a firebase.js file: import * as firebase from 'firebase' var config = { apiKey: "AIzaSyBUORmX2qG7BXFC4hqfKAq0Y6HMAsLTGbw", authDomain: "hardy-brooklyn.firebaseapp.com", databaseURL: "https://hardy-brooklyn.firebaseio.com", projectId: "hardy-brooklyn", storageBucket: "hardy-brooklyn.appspot.com", messagingSenderId: "392580429077" }; firebase.initializeApp

How to sync firebase users across several locations? (extension + website)

会有一股神秘感。 提交于 2021-02-10 15:19:40
问题 I'm working on chrome extension (provides main functionality) and the complementary website (mostly profile and billing related functionality) both backed with firebase backend. I'm wondering if it's possible to implement the below scenario: user logs in with the extension using firebase authentication (with firebaseUI lib) I store a token that I can use to reauthenticate that user (is there such a token?) when user opens the website, I login that user automatically with the token. While both

Firebase Auth: How can I detect that firebase trying to auto signIn current user?

不羁岁月 提交于 2021-02-10 08:46:19
问题 I'm using firebase.auth().onAuthStateChanged(...) in browser to detect that user is signed in and on every page load firebase trying to signIn current user (probably based on stored token in IndexDB). I need to detect when firebase trying automatically login current, so I can show loader instead of login form. Issue: User sees login form (not touching anything) firebase automatically signin this user based on last token stored in IndexDB (it takes near 1 - 1.5 seconds) on this step I want to

ios requires reCAPCHA every time w/ firestore auth (Flutter)

£可爱£侵袭症+ 提交于 2021-02-10 06:53:30
问题 I am using phone verification in my flutter app. My goal is to have the following flow: 1. user enters phone number 2. user is sent verification code 3. user enters code and is signed in. On android, that is the flow I get. On ios, however, it goes 1. user enters phone number 2. reCAPCHA page opens to make sure I'm not a robot 3. user is sent verification code 4. user enters code and is signed in (this happens on ios emulator). I want to get rid of the reCAPCHA page. Some people recommended

How to configure AngularFireAuthModule and/or AngularFireAuth to point to auth emulator

我是研究僧i 提交于 2021-02-10 06:49:06
问题 I believe the auth emulator was released near the end of Oct. 2020. auth emulator feature reqeust I'm trying to configure my locally served angular app to use the auth emulator by having angular/fire/auth make calls to localhost:9099. Is that possible yet? Or is the angular/fire team currently working on this? My firebase config parameter in environment is: firebase: { host: 'localhost:5000', ssl: false, apiKey: '<redacted>', authDomain: 'localhost:9099', databaseURL: '', projectId: '