Niotron is so indifferent! Two more updates came after he said the following. There is no similarity between his words and deeds. The bug has not been fixed yet. Gave some unnecessary updates. But it was most necessary.
You can use Firebase auth API to solve this issue.
Shouldn’t Nitron solve it? 3 more updates came after I informed them of the problem. But it was not resolved.
I have one question, what’s your exact issue, firebase auth or Realtime database
The main problem is in the following two blocks.
The token does not come even after successful login. Can’t use real-time database for get tokens. Because without token the following rules will not work .
{
"rules" : {
"users" : {
"$user_id" : {
".read" : "auth.uid == $user_id",
".write" : "auth.uid == $user_id"
}
},
"Notic" : {
".read" : "auth.uid != null",
".write" : "auth.uid != false",
},
"Pending Payment" : {
".read" : "auth.uid != null",
".write" : "auth.uid != null",
},
"Page" : {
".read" : "auth.uid != null",
".write" : "auth.uid != false",
},
"extra" : {
".read" : "auth.uid != null",
".write" : "auth.uid != null",
}
}
}
I also think there are problems with the rest of the firebase authentication blocks. All need to be checked.
1 Like