How To Allow Only One Domain In Firebase Auth Android

[Solved] How To Allow Only One Domain In Firebase Auth Android | Swift - Code Explorer | yomemimo.com
Question : how to allow only one domain in firebase auth android

Answered by : lucky-lapwing-tqverta0i95y

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

Source : https://stackoverflow.com/questions/62977597/how-to-restrict-email-domains-in-firebase-authentication | Last Update : Sat, 26 Feb 22

Answers related to how to allow only one domain in firebase auth android

Code Explorer Popular Question For Swift