CapacitorGoogleAuth icon indicating copy to clipboard operation
CapacitorGoogleAuth copied to clipboard

Getting error after GoogleAuth.signIn()

Open SasunHakobyan1 opened this issue 1 year ago • 4 comments

After calling GoogleAuth.signIn() I am getting error with this message { "type": "userLoggedOut", "idpId": "google" }

It shows after passing all OAuth consent screens

SasunHakobyan1 avatar Oct 04 '24 11:10 SasunHakobyan1

Me too. Figure out any workaround?

Riedeman avatar Dec 31 '24 14:12 Riedeman

Same error on Android device and Web. iOS is working

skidrow88 avatar Jan 09 '25 18:01 skidrow88

After digging in my problem I run into the error 10 that comes from Google API exception, and it signals that the android package name and sha1 are not valid

Take a look at this answer. I resolved my issue by retrieving my old keystore on my previous mac under the .android folder in my home directory. If you use the GoogleAuth plugin for the first time, you definitely should take a look at the creation of the android key.

skidrow88 avatar Jan 09 '25 19:01 skidrow88

CleanShot 2025-01-13 at 18 08 46 We updated the README to make it extra clear, please migrate to https://github.com/Cap-go/capacitor-social-login/tree/main

riderx avatar Jan 13 '25 18:01 riderx