Open tonogueira2 opened 8 years ago
?
Happens to me too, all requests return error 400
Me too..
Any idea?
me too! Please any solution please?
Finally I've solved it.
You have to set false
as the second parameter of the method call.
Any example please?
I read that if we use Firebase V3, we need to create a custom token in a own server. https://firebase.google.com/docs/auth/server#use_a_jwt_library
@joanlopez Wich method pass you "false"? Any example please?
Have a look here: https://github.com/step-up-labs/firebase-authentication-dotnet/issues/4
@joanlopez I try it but not run :(
How to generate the AuthToken?
At new Firebase admin web, where is the "
I need your help! Thanks!
PD: Si ets dius Joan deus ser català com jo també no? :P
try using this.
var authProvider = new Firebase.Xamarin.Auth.FirebaseAuthProvider(new FirebaseConfig("ApiKey"));
var auth = await authProvider.SignInWithEmailAndPasswordAsync("mail", "password");
var firebase = new FirebaseClient("URL");
await firebase .Child("your node") .WithAuth(auth.FirebaseToken) .PostAsync<"YourEntity">(YourentityObject, false);
Hi. I'm also having this problem in a new Project. I'm trying to authenticate using facebook and google access tokens, but I'm Always receiving a '400 - Bad Request' error. Does anyone know how to solve this problem?
Thanks in advance.
I have solved the problem. It was a problem with the facebook and google login configurations at the firebase console.
Which configuration?
I'm trying to write with user authentication, as with the rules of the default server. auth! = null ... using the basic method you propose, I have the error BAD 400 ... can you help me?
var item = await firebase .Child("yourentity") .WithAuth(auth.FirebaseToken) .PostAsync(new YourObject());