Skip to content

Commit 9c549fc

Browse files
authored
Fix typos (#907)
1 parent f8e2600 commit 9c549fc

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

username-password-auth/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ This sample shows how to authenticate with a username/password to Sign-In with F
44

55
NOTE: [Firebase Authentication](https://firebase.google.com/docs/auth/web/password-auth) can be used for email address/password sign in. This sample specifically addresses the case in which an email address is not used as the unique identifier for a user.
66

7-
## Setup the sample
7+
## Set up the sample
88

9-
Create and setup the Firebase project:
9+
Create and set up the Firebase project:
1010
1. Create a Firebase project using the [Firebase Developer Console](https://console.firebase.google.com).
1111
1. Enable Billing on your Firebase project by switching to the **Blaze** plan, this is currently needed to be able to perform HTTP requests to external services from a Cloud Function.
12-
1. Copy the Web initialisation snippet from **Firebase Console > Overview > Add Firebase to your web app** and paste it in `public/index.html` in lieu of the placeholder (where the `TODO(DEVELOPER)` is located).
12+
1. Copy the Web initialization snippet from **Firebase Console > Overview > Add Firebase to your web app** and paste it in `public/index.html` in lieu of the placeholder (where the `TODO(DEVELOPER)` is located).
1313

1414
Create and provide a Service Account's credentials:
15-
1. Create a Service Accounts file as described in the [Server SDK setup instructions](https://firebase.google.com/docs/server/setup#add_firebase_to_your_app).
16-
1. Save the Service Account credential file as `./functions/service-account.json`
15+
1. Create a service account file as described in the [Server SDK setup instructions](https://firebase.google.com/docs/server/setup#add_firebase_to_your_app).
16+
1. Save the service account credential file as `./functions/service-account.json`
1717

1818
Deploy your project:
1919
1. Run `firebase use --add` and choose your Firebase project. This will configure the Firebase CLI to use the correct project locally.
@@ -28,10 +28,10 @@ Enter credentials and click on the **Sign in** button. At this point you are aut
2828

2929
## Workflow and design
3030

31-
When clicking the **Sign in** button the `auth` Cloud Function authenticates the username/password then Mints and returns a Firebase Custom Auth token (which is why we need Service Accounts Credentials).
31+
When clicking the **Sign in** button the `auth` Cloud Function authenticates the username/password then Mints and returns a Firebase Custom Auth token (which is why we need service accounts credentials).
3232

3333
The [httpbin](https://httpbin.org) request & response service is used for the basic authentication request in this example.
3434

35-
The main page will detect the sign-in through the Firebase Auth State observer and display the signed-In user information.
35+
The main page will detect the sign-in through the Firebase Auth State observer and display the signed-in user information.
3636

3737
NOTE: In production you'll need to update the placeholder `authenticate` function in `./functions/index.js` so that it authenticates with your own credentials system.

0 commit comments

Comments
 (0)