According to google documentation all request types of firebase realtime database can use App secret, but documentation only covers authentication by token.
Should be simple but i can't find an example for API version 3. Also it is not clear to me if App key will be accepted by rule "auth != null" since requests using App secret don't use any account and auth is filled with user information like userid(uid).
I tried many things but, since i don't have a reference point, i don't know if the errors i am getting are because the request is malformed (not specifying App secret properly) or because the request is ok but the rule reject it.
Resuming, what is the correct syntax for passing app secret and how rules apply to requests using app secret?
And yes, i am building a app Server, so app secret is not distributed.