Skip to content

Commit 2e8843b

Browse files
author
Nicolas Garnier
committed
Switching the sample to use Email/Password rather than the Facebook sign-in provider since that's easier to setup.
1 parent e00dc80 commit 2e8843b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎example/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This is a sample app showing a usage of the react-firebaseui package in a react
66
## Initial setup, building and serving.
77

88
1. Create a Firebase project using the [Firebase console](https://console.firebase.google.com).
9-
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/).
9+
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.
1010
1. Install the run-time and build dependencies:
1111
```bash
1212
npm install

‎example/src/App.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class App extends React.Component {
4141
signInFlow: 'popup',
4242
signInOptions: [
4343
firebase.auth.GoogleAuthProvider.PROVIDER_ID,
44-
firebase.auth.FacebookAuthProvider.PROVIDER_ID,
44+
firebase.auth.EmailAuthProvider.PROVIDER_ID,
4545
],
4646
callbacks: {
4747
signInSuccess: () => false,

0 commit comments

Comments
 (0)