i am able to get a token, but I am getting a generic 400 error with the following code:
var authProvider =
new FirebaseAuthProvider(new FirebaseConfig("--My API Key--"));
var auth = await authProvider.SignInWithEmailAndPasswordAsync(username, password);
var firebase = new FirebaseClient("https://mydbname.firebaseio.com/");
var user = new LocalUser();
var xx = await firebase.Child("Users").Child(username).WithAuth(auth.FirebaseToken).PostAsync(user,false).ConfigureAwait(true);
and the LocalUser is defined as:
public class LocalUser
{
public string SomeData = "MoarData";
}
i am able to get a token, but I am getting a generic 400 error with the following code:
and the LocalUser is defined as: