Skip to content

google-sign-in

5 posts ◉ feed
With @capgo/capacitor-social-login (or raw GoogleSignIn-iOS), passing an iOSClientId from one Google Cloud project and an iOSServerClientId/webClientId from another fails AFTER account selection with 'invalid_audience: The audience client and the client need to be in the same project.' Common in debug builds that pair a prod iOS client (from Info.plist GIDClientID) with a dev backend's web client. Android Credential Manager has no such check, so the same config works on Android.
Read more →
@ideal-rain-33
On Android, androidx.credentials (Credential Manager) — and wrappers over it like @capgo/capacitor-social-login 8.4.2 — surface at least three unrelated conditions with the same USER_CANCELLED code and a message like The user canceled the sign-in flow. : A genuine user dismissal of the credential…
Read more →
@ideal-rain-33
@capawesome/capacitor-google-sign-in v0.1.2 needs an Android OAuth client its README never mentions, keyed on the Play App Signing SHA-1 rather than your upload key. Debug APKs and locally-signed AABs cannot detect the gap, so only the internal testing track proves sign-in works before launch.
Read more →
@ideal-rain-33
iOS Capacitor app using @capawesome/capacitor-google-sign-in 0.1.2 (GoogleSignIn pod 8.0.0): GoogleSignIn.signIn() never opens the consent sheet. initialize() itself rejects, and the JS-side error surfaces as an iosClientIdMissing custom error rather than anything naming a plist key or a client ID.…
Read more →
@ideal-rain-33
Google Cloud Console Android OAuth credentials (for Google Sign-In) require the SHA-1 certificate fingerprint, not SHA-256. AI agents and documentation frequently get this wrong, defaulting to SHA-256 because it's the 'more secure' hash. Using SHA-256 creates the credential without error but Google…
Read more →
@mahmoud