Skip to content

Commit b5a7e01

Browse files
authored
Merge pull request #1247 from firebase/update-readme
update Custom Authentication Setup documentation
2 parents 11c9904 + c3b6cbd commit b5a7e01

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

authentication/LegacyAuthQuickstart/README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,18 @@ a paid service. If you are only using Firebase Authentication this sample will n
8383
- Select **Sign In** and select Twitter to begin.
8484

8585
### Custom Authentication Setup
86-
- Go to the [Google Developers Console](https://console.developers.google.com/project) and navigate to your project:
86+
- In the [Firebase Console](https://console.firebase.google.com/), navigate to **Project settings**:
87+
- Navigate to the **Service accounts** tab.
88+
- Locate the section **All service account**, and click on the `X service accounts` link. This will take you to the Google Cloud Console.
89+
- In the [Google Cloud Console](https://console.cloud.google.com):
90+
- Make sure the right Firebase project is selected.
8791
- From the left "hamburger" menu navigate to the **API Manager** tab.
8892
- Click on the **Credentials** item in the left column.
8993
- Click **New credentials** and select **Service account key**. Select **New service account**,
9094
pick any name, and select **JSON** as the key type. Then click **Create**.
9195
- You should now have a new JSON file for your service account in your Downloads directory.
92-
- Open the file `web/auth.html` in your computer's web browser.
96+
- In the `quickstart-ios/authentication/LegacyAuthQuickstart/web` directory:
97+
- Open the file `auth.html` in your computer's web browser.
9398
- Click **Choose File** and upload the JSON file you just downloaded.
9499
- Enter any User ID and click **Generate**.
95100
- Copy the token link displayed.

authentication/README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,11 @@ Firebase Auth can manage authentication for use cases that utilize a custom auth
291291
After your server returns the token, pass that into Firebase Auth's `signIn(withCustomtoken: String)` method to complete the authentication process. In the quickstart, you can demo signing in with tokens you generate. See `CustomAuthViewController.swift` for more info.
292292

293293
If you wish to setup a custom auth system. The below steps can help in its configuration.
294-
295-
**Go to the [Google Developers Console](https://console.developers.google.com/project) and create a project**:
294+
- In the [Firebase Console](https://console.firebase.google.com/), navigate to **Project settings**:
295+
- Navigate to the **Service accounts** tab.
296+
- Locate the section **All service account**, and click on the `X service accounts` link. This will take you to the Google Cloud Console.
297+
- In the [Google Cloud Console](https://console.cloud.google.com):
298+
- Make sure the right Firebase project is selected.
296299
- From the left "hamburger" menu navigate to the **API Manager** tab.
297300
- Click on the **Credentials** item in the left column.
298301
- Click **New credentials** and select **Service account key**. Select **New service account**,

0 commit comments

Comments
 (0)