I would like to be able to have my database only accessible from 3 Google domains. I can access it from one domain but when I try to add more it fails.
The rules I have tried so far:
{
"rules": {
".read": "auth.token.email.endswith('mycompany@gmail.com')"
}
}
I have tried to add an or statement into it but with the second domain I don't get authorised.