Answer the question
In order to leave comments, you need to log in
Google authorization in expo (firebase)?
Good afternoon, which day I'm racking my brains over authorization in expo through Google.
I use expo-google-app-auth
Here is the code:
const result = await Google.logInAsync({
androidClientId: env.androidClientId,
iosClientId: env.iosClientId,
scopes: ['profile', 'email']
})
const credential = await firebase.auth.GoogleAuthProvider.credential(result.idToken, result.accessToken)
await fire.auth().signInWithCredential(credential)
[Error: {"error":{"code":400,"message":"API key expired. Please renew the API key.","errors":[{"message":"API key expired. Please renew the API key.","domain":"global","reason":"badRequest"}],"status":"INVALID_ARGUMENT"}}]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question