flutter_medical icon indicating copy to clipboard operation
flutter_medical copied to clipboard

Firebase permission problem

Open erdometo opened this issue 3 years ago • 2 comments

I am trying to configure my firebase database and i couldn't resolve this issue I get this error when i am trying to sign in. The user exists but cannot login. resim

It would be very helpful to have firebase rules and database scheme.

erdometo avatar Nov 09 '20 17:11 erdometo

Have you enabled your Cloud Firestore database yet?

If you you are activating it for the 1st time be sure to select testing which gives you 30days before requiring you to set Rules.

Hope that helps

clearnetinc avatar Nov 14 '20 15:11 clearnetinc

I solved permission problem with the following rules. rules_version = '2'; service cloud.firestore { match /databases/{database}/documents { match /{document=**} { allow read, write: if request.auth != null; } } }

Now, the only problem is database scheme. I tried to configure my database like this but it seems somethings are missing.

resim

I don't know where to put "specialties" collection and other values. A database scheme should be provided in the readme.md file. I just wanted to know how this app looks like.

erdometo avatar Nov 15 '20 09:11 erdometo