Authentication allows you to register users, and receive tokens for authorizes users, integrate with Google sign in, facebook etc. All it does is allow you to create users, and authenticate.
The Database stores the textbased data. What you are doing in your blocks is using firebase as an authentication system, which yes it is possible. The problem is with the rules of the database and making sure it is secure.
No a word of warning. The KODULAR SPECIFIC Authentication component does NOT integrate with the Database component. IN other words, just because you are authorized on the Authentication component, does not mean you are authorized on the Database component, so any database specific rules will not apply. There is another extension for firebase authentication that allows you to do that.
DB security is established by a combination of rules and authentication. Assuming you have authenticated with the above extension here are the different ways to setup rules.
Is the Firebase Authentication extension V.3 the last version?
I’ll use this extension for sure!
Ok, so, for what I understood, in a normal situation, can this settings be used?
“rules”: {
“.read”: true,
“.write”: “auth != null”
}
All users can read, but only auth users can write… is that correct?
thereis another firebase extesnion for auth user and make the database safe. Look in thunkable for that. Firebase AUth but it will cost a few dollar, and a free one is also out there