-
Notifications
You must be signed in to change notification settings - Fork 226
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
Signin and all functions throwing task canceled #60
Comments
I encountered this last week as well. It looks like when there is a configuration error the Google SignIn API returns canceled as the error code. In my case, the web client id I was passing in was not for the same app as the android credentials. 3 Things to check: Confirm the SHA1 of the APK matches the SHA1 of the Android credentials on the API console. You can get the SHA1 by running: Confirm the bundle id matches the same android credential as the SHA1 on the API console. You can get the bundle id from the apk by running: The last item to confirm is if you are trying to get an id token, is the web client id it needs to be associated with the sample client id as the android credentials. |
I got the same issue. I have checked the three things but still getting cancelled status on mobile |
I resolved the above issue by myself. When you create a google+ client for android in google console, web client is created automatically. You have to use the web client id in the sample script in unity. Don't use android client's Id. At the first glance two keys seems to be the same but not. : ) |
I am able to get the google page but once I click on the account ,Status is becoming cancelled.
The text was updated successfully, but these errors were encountered: