From 2e8843bfbd31108abf9a9974585c5492eb1c9a5b Mon Sep 17 00:00:00 2001 From: Nicolas Garnier Date: Thu, 29 Mar 2018 20:07:48 +0200 Subject: [PATCH] Switching the sample to use Email/Password rather than the Facebook sign-in provider since that's easier to setup. --- example/README.md | 2 +- example/src/App.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/example/README.md b/example/README.md index bc519677..57c66b07 100644 --- a/example/README.md +++ b/example/README.md @@ -6,7 +6,7 @@ This is a sample app showing a usage of the react-firebaseui package in a react ## Initial setup, building and serving. 1. Create a Firebase project using the [Firebase console](https://console.firebase.google.com). -1. In the **Authentication** section of your project's Firebase console, open the **Sign-In Method** tab and enable the **Google** sign-in provider. Optionally, you can also enable Facebook, this requires to create and configure a Facebook application on [Facebook for developers](https://developers.facebook.com/). +1. In the **Authentication** section of your project's Firebase console, open the **Sign-In Method** tab and enable the **Google** and the **Email/Password** sign-in providers. 1. Install the run-time and build dependencies: ```bash npm install diff --git a/example/src/App.jsx b/example/src/App.jsx index a92e6a2c..735ef36a 100644 --- a/example/src/App.jsx +++ b/example/src/App.jsx @@ -41,7 +41,7 @@ class App extends React.Component { signInFlow: 'popup', signInOptions: [ firebase.auth.GoogleAuthProvider.PROVIDER_ID, - firebase.auth.FacebookAuthProvider.PROVIDER_ID, + firebase.auth.EmailAuthProvider.PROVIDER_ID, ], callbacks: { signInSuccess: () => false,