I REALLY DONT UNDERSTAND how i can work with database in firebase
i make quiz app with simple login and signup system and points system
when i change the rules to auth
the app when sign-in or sign-up give me error ( permission denied)
how the app will work if give me error in sign-in and sign-up and don’t save the points when complete quiz ???
there is any solution ???
PLEASE DOT GIVE ME A LINK TO ARTICLE OR VIDEO i spend week watch videos and read articles about this and its not work at all
Only one point you need to keep in mind. Suppose if you set authorization, then you need to getID token whenever user sign up or login success.
After getting this ID you need to change the existing firebase token to this getID token then only the permission denied will not appear and you can write into the firebase successfully…
please can you show me how ?
I just want to protect the data, but I didn’t know how because I am not very good at it
I do not mean here to be relying on you, but I really got a headache from this problem and I would like to offer me a picture or a way to do this
Then it is very very simple… please wait for few minutes… I will give the block. After the lunch break I will solve your query meanwhile if you get solution from others I will be more happy
Yes, thas what i said earlier… If you are assigning or changing the default firebase rule to auth mode, then you should enable users to sign in/login or signup via firebase authentication only.