Skip to content

Commit 0efb220

Browse files
committed
Nit fixes for Firestore security rules
1 parent 957eb7f commit 0efb220

1 file changed

Lines changed: 11 additions & 6 deletions

File tree

README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -197,21 +197,26 @@ This error happens because authentication has timed-out. Here's how to resolve i
197197
Error loading Gemini API key. Please rerun Terraform with terraform apply --auto-approve"
198198
```
199199

200-
This error happens because Terraform failed to provision some resources during initialization, such as API keys. Here's how to resolve it:
200+
This error happens because Terraform failed to provision some resources
201+
during initialization, such as API keys. Here's how to resolve it:
201202

202203
1. In Project IDX, open a new terminal.
203-
1. In the terminal, run `terraform apply --auto-approve`, and then click continue if prompted to log in.
204+
1. In the terminal, run `terraform apply --auto-approve`, and then click
205+
continue when prompted to log in.
204206
1. Wait until the command succeeds.
205207
1. Reload the web preview, if necessary.
206208

207209
```
208-
Check Firestore permissions in Firebase Console
210+
Check Firestore permissions in Firebase Console: link
209211
```
210212

211-
This error happens when Firestore rules are blocking requests from your app.
213+
This error happens because
214+
[Firestore security rules](https://firebase.google.com/docs/firestore/security/get-started)
215+
are blocking requests from your app. Here's how to resolve it:
212216

213-
1. Go to Firebase Console following the link provided.
214-
1. Check that the rules is what you expect. In particular, `timestamp.date` should be in the future.
217+
1. Go to the Firebase console using the link provided in the error message.
218+
1. Check that the security rules are what you expect. In particular,
219+
`timestamp.date` should be in the future.
215220
1. Reload the web preview, if necessary.
216221

217222
## Docs

0 commit comments

Comments
 (0)