Click here to Skip to main content
14,977,910 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm using firestore in c#.
Now I want to login First using email and password.
Then I want to access collection.

//SETUP

I've created user in authentication page.
I've setup firestore rule like this so only authenticated user can access collections.


service cloud.firestore {

match /databases/{database}/documents {

match /{document=**} {

allow read, write: if request.auth != null;

}

}

}

now I want to first login in C#. then use credentials to access my collections.

What I have tried:

I'm currently using Google.cloud.Firestore. But I'm unable to find find proper authentication code.
Posted
Comments
BillWoodruff 29-May-21 9:05am
   
So: why aren't you looking on Google for Firestore documentation, support, forums, etc. ?

See the list of articles on the right titled "Related Questions: read them.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900