Skip to content

Commit

Permalink
Switching the sample to use Email/Password rather than the Facebook s…
Browse files Browse the repository at this point in the history
…ign-in provider since that's easier to setup.
  • Loading branch information
Nicolas Garnier committed Mar 29, 2018
1 parent e00dc80 commit 2e8843b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion example/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2e8843b

Please sign in to comment.