@@ -184,63 +184,65 @@ Set up your Firebase project as follows:
184
184
185
185
186
186
1 . Enable Authentication:
187
- 1 . Go to the Firebase Console, and select ** 'Authentication'** from the ** 'Build'** menu.
188
- 2 . Click on ** 'Get Started'** .
189
- 3 . Select ** 'Sign-in method > Add new provider > Email/Password'** then enable both the
190
- ** 'Email/Password'** and ** 'Email link (passwordless sign-in)'** options.
187
+ 1 . Go to the Firebase Console, and select ** 'Authentication'** from the ** 'Build'** menu.
188
+ 2 . Click on ** 'Get Started'** .
189
+ 3 . Select ** 'Sign-in method > Add new provider > Email/Password'** then enable both the
190
+ ** 'Email/Password'** and ** 'Email link (passwordless sign-in)'** options.
191
191
192
192
193
193
2 . Enable Firestore:
194
- 1 . Go to the Firebase Console, and select ** 'Firestore Database'** from the ** 'Build'** menu.
195
- 2 . Click on the ** 'Create database'** button. You can choose to set up Firestore either in
196
- the production mode or in the test mode.
194
+ 1 . Go to the Firebase Console, and select ** 'Firestore Database'** from the ** 'Build'** menu.
195
+ 2 . Click on the ** 'Create database'** button. You can choose to set up Firestore either in
196
+ the production mode or in the test mode.
197
197
198
198
199
199
3 . Enable Realtime Database:
200
- 1 . Go to the Firebase Console, and select ** 'Realtime Database'** from the ** 'Build'** menu.
201
- 2 . Click on the ** 'Create database'** button. You can choose to set up the Realtime database
202
- either in the locked mode or in the test mode.
203
- 3 . In the ** 'Data'** tab click on the kebab menu (3 dots) and select ** 'Create Database'** .
204
- 4 . Enter your Project ID (Found in the ** 'General'** tab in ** 'Account Settings'** ) as the
205
- ** 'Realtime Database reference'** . Again, you can choose to set up the Realtime database
206
- either in the locked mode or in the test mode.
200
+ 1 . Go to the Firebase Console, and select ** 'Realtime Database'** from the ** 'Build'** menu.
201
+ 2 . Click on the ** 'Create database'** button. You can choose to set up the Realtime database
202
+ either in the locked mode or in the test mode.
203
+ 3 . In the ** 'Data'** tab click on the kebab menu (3 dots) and select ** 'Create Database'** .
204
+ 4 . Enter your Project ID (Found in the ** 'General'** tab in ** 'Account Settings'** ) as the
205
+ ** 'Realtime Database reference'** . Again, you can choose to set up the Realtime database
206
+ either in the locked mode or in the test mode.
207
207
208
208
209
209
4 . Enable Storage:
210
- 1 . Go to the Firebase Console, and select ** 'Storage'** from the ** 'Build'** menu.
211
- 2 . Click on the ** 'Get started'** button. You can choose to set up the Realtime database
212
- either in the production mode or in the test mode.
210
+ 1 . Go to the Firebase Console, and select ** 'Storage'** from the ** 'Build'** menu.
211
+ 2 . Click on the ** 'Get started'** button. You can choose to set up the Realtime database
212
+ either in the production mode or in the test mode.
213
213
214
214
215
215
5 . Enable the Firebase ML API:
216
- 1 . Go to the [ Google Developers Console | Firebase ML API ] (
217
- https://console.developers.google.com/apis/api/firebaseml.googleapis.com/overview ) and make
218
- sure your project is selected.
219
- 2 . If the API is not already enabled, click ** 'Enable'** .
216
+ 1 . Go to the
217
+ [ Google Developers Console | Firebase ML API ] ( https://console.developers.google.com/apis/api/firebaseml.googleapis.com/overview )
218
+ and make sure your project is selected.
219
+ 2 . If the API is not already enabled, click ** 'Enable'** .
220
220
221
221
222
222
6 . Enable the IAM API:
223
- 1 . Go to the [ Google Cloud Platform Console] ( https://console.cloud.google.com ) and make sure
224
- your Firebase project is selected.
225
- 2 . Select ** 'APIs & Services'** from the main menu, and click the
226
- ** 'ENABLE APIS AND SERVICES'** button.
227
- 3 . Search for and enable ** 'Identity and Access Management (IAM) API'** by Google Enterprise API.
223
+ 1 . Go to the[ Google Cloud Platform Console] ( https://console.cloud.google.com )
224
+ and make sureyour Firebase project is selected.
225
+ 2 . Select ** 'APIs & Services'** from the main menu, and click the
226
+ ** 'ENABLE APIS AND SERVICES'** button.
227
+ 3 . Search for and enable ** 'Identity and Access Management (IAM) API'** by Google Enterprise API.
228
228
229
229
230
230
7 . Enable Tenant Management:
231
- 1 . Go to
232
- [ Google Developers Console | Identity Platform] ( https://console.cloud.google.com/customer-identity/ )
233
- and if it is not already enabled, click ** 'Enable'** .
234
- 2 . Then follow [ this guide] ( https://cloud.google.com/identity-platform/docs/multi-tenancy-quickstart#enabling_multi-tenancy ) to enable multi-tenancy.
231
+ 1 . Go to
232
+ [ Google Developers Console | Identity Platform] ( https://console.cloud.google.com/customer-identity/ )
233
+ and if it is not already enabled, click ** 'Enable'** .
234
+ 2 . Then follow
235
+ [ this guide] ( https://cloud.google.com/identity-platform/docs/multi-tenancy-quickstart#enabling_multi-tenancy )
236
+ to enable multi-tenancy.
235
237
236
238
237
239
8 . Ensure your service account has the ** 'Firebase Authentication Admin'** role. This is required
238
240
to ensure that exported user records contain the password hashes of the user accounts:
239
- 1 . Go to [ Google Cloud Platform Console / IAM & admin] ( https://console.cloud.google.com/iam-admin ) .
240
- 2 . Find your service account in the list. If not added click the ** 'pencil'** icon to edit its
241
- permissions.
242
- 3 . Click ** 'ADD ANOTHER ROLE'** and choose ** 'Firebase Authentication Admin'** .
243
- 4 . Click ** 'SAVE'** .
241
+ 1 . Go to [ Google Cloud Platform Console / IAM & admin] ( https://console.cloud.google.com/iam-admin ) .
242
+ 2 . Find your service account in the list. If not added click the ** 'pencil'** icon to edit its
243
+ permissions.
244
+ 3 . Click ** 'ADD ANOTHER ROLE'** and choose ** 'Firebase Authentication Admin'** .
245
+ 4 . Click ** 'SAVE'** .
244
246
245
247
246
248
Now you can invoke the integration test suite as follows:
0 commit comments