I have been using Firebase in my Agent code to post updates to a Firebase Realtime Database. Everything works when I have the auth rules in my database set to allow public access to the database. However, I am struggling to setup the Auth Key within the Firebase.class.nut:2.0.0 library to enable Authorized reads and writes.
Based on the Firebase documentation I have created a Service Account for my Agent to access Firebase. I am given a JSON file with my access credentials but I cannot figure out if this will work the the Firebase library. Do I specifically use the private_key field in the library or the entire JSON file?
Does anybody know how to add authorization into the Firebase library using a Service Account? Do I need to create a different type of access token?