Swift + Vapor framework for server + Xcode 8.1
I am trying to read Firebase Realtime Database making HTTP requests to my DB, but I get permission denied.
Th
TLDR; Try placing auth=
in your query string instead of using the authorization header.
The Firebase documentation is unclear on how this works. According to the documentation, there are three methods that should work.
auth=
in query string (link)access_token=
in query string (link)Authorization: Bearer
in request header (link)I'm not convinced that all three methods do actually work however. I'm using method 1 in my application, so I know that one works for sure.