Android Question Firebase - Auth

Randori

Member
Licensed User
Longtime User
I attempting to configure from the tutorial and not getting it to work. I believe I have isolated the line of the error log that has some useful information:

You have wrong OAuth2 related configurations, please check. Detailed error: INVALID_AUDIENCE.
 

Randori

Member
Licensed User
Longtime User
OK...this was not wonderfully easy, but I figured it out. It all came down to the Certificate Fingerprints (SHA-1)...I needed to get a program called keystore explorer to open the keystore file from the basic4android install path and use that instead of the key that I got using the keytool as they were different. Once I did this the login button went on to prompt if I wished to allow the app to access after selecting the account.
 
Upvote 0

freedom2000

Well-Known Member
Licensed User
Longtime User
OK...this was not wonderfully easy, but I figured it out. It all came down to the Certificate Fingerprints (SHA-1)...I needed to get a program called keystore explorer to open the keystore file from the basic4android install path .

Please could you tell me where is this file in B4A ?
thanks
 
Upvote 0

Randori

Member
Licensed User
Longtime User
Sure...(but please note that I am far from an authority on this topic)...

I located the debug.keystore file in the folder "C:\Program Files (x86)\Anywhere Software\Basic4android". The Certificate Fingerprints (SHA-1) from here must be what B4A uses as it compiles as it worked instantly.
 
Upvote 0

freedom2000

Well-Known Member
Licensed User
Longtime User
Sure...(but please note that I am far from an authority on this topic)...

I located the debug.keystore file in the folder "C:\Program Files (x86)\Anywhere Software\Basic4android". The Certificate Fingerprints (SHA-1) from here must be what B4A uses as it compiles as it worked instantly.
Ok I see !

You can access the same information using B4A.
GO to the tools menu
then "private Sign key"
then into the text at the bottom of the page you will see the SHA1
 
Upvote 0

freedom2000

Well-Known Member
Licensed User
Longtime User
here :

SHA1.jpg
 
Upvote 0
Top