Android Question firebase auth error

freedom2000

Well-Known Member
Licensed User
Hi,

Last week I successfully used firebase Auth example.

By error I had the same package name on 2 apps (not on the store) with same SHA1...
When adding google auth into firebase console, I have been warned of this error and followed the description to remove one App.

Since then, I have no way to run firebase auth example.
I always get this error into the unfiltered logs :

B4X:
[46378] BasicNetwork.performRequest: Unexpected response code 400 for https://www.googleapis.com/identitytoolkit/v3/relyingparty/verifyAssertion?key=AIzaSyCXCDMyxxxxxxxxxxxHoLB83npr2sINyu57o
Error description received from server: {
"error": {
  "errors": [
   {
    "domain": "global",
    "reason": "invalid",
    "message": "OAuth2 client id in server configuration is not found."
   }
  ],
  "code": 400,
  "message": "OAuth2 client id in server configuration is not found."
}
}

The code is compiling and running, I can select my acount (or any other if installed on another phone) but I never receive the authentification...

Any help on this strange bug ?
Thank you
 

freedom2000

Well-Known Member
Licensed User
no never. (I think it would have been impossible to upload it with same package name)
But I did create two separate projects on firebase and there is no check on the package name...
Everything was fine until I decided to use auth...

And I don't know how to recover this bug... I have recreated the whole project...same thing.
I have the bad feeling that my SHA1 is now spoilt to use it with firebase auth.
 
Upvote 0

freedom2000

Well-Known Member
Licensed User
Hi,

Please, how can I change the signing key ?

Isn't it derived from the SHA1 that we enter into the firebase console ?
 
Upvote 0
Top