Closed amanenk closed 3 years ago
@fdistorted you should be able to leverage Google Application Default Credentials by using the homegraph generated bindings in the Google APIss Node.js Client directly: https://googleapis.dev/nodejs/googleapis/latest/homegraph/index.html rather than the wrapper provieded in this library.
Thanks. It worked!
Hello!
I wrote a piece of code that reports a device's state to the homegraph:
It works fine but I have some concerns on using credentials files in my code; Is there a way to avoid using
json
file by usingadmin.auth().createCustomToken()
function?