I'm having issues when trying to login with the google oauth authenication.
I'm getting a HttpRequestException: 400 (Bad Request)
Could you maybe tell me exactly where to find the firebase API key? Maybe I'm using the wrong one.
The accesstoken is the token that I got from the google login using the Xamarin.auth package so I think I'm ok on that front.
To provide you with some more context I'm using this code in the PCL project of my solution. I'm also using mvvmcross for this.
My Code:
var authProvider = new FirebaseAuthProvider(new FirebaseConfig("My token from firebase console"));
var auth = await authProvider.SignInWithOAuthAsync(FirebaseAuthType.Google, accessToken);
Hi,
I'm having issues when trying to login with the google oauth authenication. I'm getting a HttpRequestException: 400 (Bad Request)
Could you maybe tell me exactly where to find the firebase API key? Maybe I'm using the wrong one.
The accesstoken is the token that I got from the google login using the Xamarin.auth package so I think I'm ok on that front.
To provide you with some more context I'm using this code in the PCL project of my solution. I'm also using mvvmcross for this.
My Code: