Cap-go / capacitor-social-login

One plugin to make login with Google,Apple,Facebook and so on, simple and fast to implement
https://capgo.app
MIT License
25 stars 9 forks source link

Incorrect value of the ID field #76

Open CoolS2 opened 2 days ago

CoolS2 commented 2 days ago

After authorizing with google login in the ID field, email instead of ID. This happens during testing in Android Studio in the Pixel 8 emulator. In the Web version, everything is fine.

Version 0.0.76

CoolS2 commented 1 day ago

image I think for id field should be getIdToken

https://developers.google.com/identity/android-credential-manager/android/reference/com/google/android/libraries/identity/googleid/GoogleIdTokenCredential

CoolS2 commented 1 day ago

Although I'm wrong. There comes an jwt token, which must be parsed and in which the user identifier is stored.

But in any case, I think the object that is returned must be identical to the web, and at the moment its not.