I tried
https://recipes-fe1ba.firebaseio.com/products.json?auth' + token
And in firebase rules , I tried
"products" : {
".read": "auth != null",
".write": "auth != null"
}
NOT working event after I sent actual NOT null token. It throws 401 with below error object .
{ "error" : "Could not parse auth token." }
Can somebody highlight on this ?
I need help also on how to read my own query parameter in firebase data rules For example: if i hit
https://recipes-fe1ba.firebaseio.com/products.json?mypara1=1234
in data rules,something like
{".read": "mypara1 != 1235"}
Currently stuck and no clue how to do this.