-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
onGoogleSignInResult rerurn google user null,idtoken null #67
Comments
@bmw996 can you please attach more info? This can be related to some firebase misconfiguration, or not adding sha1 fingerprint in android side |
Same thing here. The error is here KMPAuth/kmpauth-google/src/androidMain/kotlin/com/mmk/kmpauth/google/GoogleAuthUiProviderImpl.kt Lines 23 to 57 in e379c3a
handleCredentialException => androidx.credentials.exceptions.GetCredentialCancellationException: activity is cancelled by the user. It happens just after selecting a user, the Google dialog is closed then the error is triggered. With a project with up to date deps (kotlin 2.1.0 / Firebase 33.7.0 / Compose 1.7.1) |
Hey @mirzemehdi, I was able to reproduce the problem on an Android device with a Google account added. When I click the GoogleSignInButton, the account selection dialog appears. After selecting an account, the dialog disappears and an exception is thrown Idtoken is null. |
i am also getting null token |
@devenvoy I didn't even go further as it was not critical for my project. The other way is do it yourself by the swift/native way with a bridge. Take a look here for a quick bridge and the official firebase documentation . |
as I see it looks like it is related to wrong web client id: please check these solutions if it works for you: |
No description provided.
The text was updated successfully, but these errors were encountered: