Answers for "how to allow only one domain in firebase auth android"

0

how to allow only one domain in firebase auth android

rules_version = '2';
service cloud.firestore {
  match /databases/{database}/documents {
    match /{document=**} {
      allow read, write: if request.auth.token.email.matches('.*@domain[.]com');
    }
  }
}
Posted by: Guest on February-19-2022

Code answers related to "how to allow only one domain in firebase auth android"

Browse Popular Code Answers by Language