I'm trying this:
try
{
string BasePath = "
https://xxxx-xxxx.firebaseio.com/";
string FirebaseSecret = "xxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxx";
IFirebaseConfig config = new FirebaseConfig();
config.AuthSecret = FirebaseSecret;
config.BasePath = BasePath;
IFirebaseClient client;
//Initializing FirebaseClient with reference link
client = new FirebaseClient(config);
var response = await client.GetAsync("test");
}
catch (Exception ex)
{
}
But I receive this error:
{"Request responded with status code=BadRequest, response={\n \"error\" : \"Could not parse auth token.\"\n}\n"}
What should I do? Thanks