GoogleIdentity - Sign in with Google

Status
Not open for further replies.

MarcoRome

Expert
Licensed User
Longtime User
Is right also this.
Do you opened the account and created your own key today ?
and sorry for stupid question... but are you sure that "Identity Toolkit API" is enabled ?
 

adrianstanescu85

Active Member
Licensed User
Longtime User
The Google account is a few months old and the first keys were created last night i.e. about 12 hours ago. In the mean time I've deleted all of them and created new ones, for about 2 hours now, maybe even 3.

I get no error inside the B4A app, actually after clicking on my email address on the phone when signing in I get the "sending message to waiting queue" and "running waiting messages" in the log, but that's about everything. The label on the screen doesn't change text either.

And yes, the API is enabled:
Snap6.png
 

MarcoRome

Expert
Licensed User
Longtime User
When you go in Settings "Identity Toolkit Api" in page you see also this:

Immagine.jpg


do you have this Key in your manifest ?
 

adrianstanescu85

Active Member
Licensed User
Longtime User
Actually the key from the listed client configuration is different from the Android key, more specifically it was automatically generated as a Browser key (and I cannot find a place to switch it to Android). The Android initial key remains in the credentials list, but in the mean time this Browser key appeared.

Snap7.png


The key from the Server configuration is the same one as the Web application key in the listed credentials, i.e. the same as chosen in the OAuth.

Snap8.png
 

inakigarm

Well-Known Member
Licensed User
Longtime User
Hi @adrianstanescu85:

Have you solved this issue? ? I'm in the same case as you; I run the B4A example and after choosing the mail account to sign in, nothing changes (gi_Signin Event doesn't fire)

I've followed the instructions and the helpful guide from @MarcoRome (tested the Json Client & server configuration with manifest editor) but nothing changes

USB debugging on and uncheckered filter doesn't show more info
 

adrianstanescu85

Active Member
Licensed User
Longtime User
So far no luck at all! I followed all instructions I could find here and what belongs to Google, but... no result! Tried the USB debugging with no results either.
 

MarcoRome

Expert
Licensed User
Longtime User
So far no luck at all! I followed all instructions I could find here and what belongs to Google, but... no result! Tried the USB debugging with no results either.
look response Erel. If you utulize a different key you will not be the result
 

adrianstanescu85

Active Member
Licensed User
Longtime User
So there must be a way! Do you have a working project with a test key or something like that? Even if it's temporary or so. I can't seem to get an end to the original project here, even though I followed all the steps.
 

MarcoRome

Expert
Licensed User
Longtime User
So there must be a way! Do you have a working project with a test key or something like that? Even if it's temporary or so. I can't seem to get an end to the original project here, even though I followed all the steps.
Sorry this is my key ... and is all in production...so i cant release this... but if you follow istruction Erel and me ... i'm sure that you found way
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
so its better to stick with google account manager lib..!
Use which ever library better suits your requirements!

The libraries functionality is not the same. GoogleAccountManager is based on the local set accounts. GoogleIdentity is better suited for a log-in page. The user can use any Google account (and in the future Facebook account) they like.

The data also comes from different places. GoogleAccountManager - Local contacts store, GoogleIdentity - Google online authentication service.
 

jazzzzzzz

Active Member
Licensed User
Longtime User
Use which ever library better suits your requirements!

The libraries functionality is not the same. GoogleAccountManager is based on the local set accounts. GoogleIdentity is better suited for a log-in page. The user can use any Google account (and in the future Facebook account) they like.

The data also comes from different places. GoogleAccountManager - Local contacts store, GoogleIdentity - Google online authentication service.

Am using these lib for login page and google identity is thing I wanted as it support add account ,my issue is I dont get profile pic link in my phone,its just giving null..I just reported a issue
 
Status
Not open for further replies.
Top