Google-signin: [Error: RNGoogleSignInError: Unknown error when signing in., Error Domain=org.openid.appauth.general Code=-15 "Issued at time is more than 600 seconds before or after the current time" UserInfo={NSLocalizedDescription=Issued at time is more than 600 seconds before or after the current time}]

Created on 4 Nov 2019  路  6Comments  路  Source: react-native-google-signin/google-signin

Steps to Reproduce

  • You must provide a minimal and easy-to-run reproduction of your issue - how to create a minimal reproduction?. We're a small team of maintainers and do not have time to try reproduce bugs ourselves.

  • Please try to reproduce the bugs on the provided example app. Either provide a link to the repo that reproduces the bug or provide your version of the index.js file that reproduces the issue and that we can easily use.

  • Explain the steps we need to take to reproduce the issue.

  • Include a gif if you think it may help.

  • If you're asking for help, please make it easy for us to help you!

Expected Behavior

Actual Behavior

Environment

Please provide

  • react-native version
  • @react-native-community/google-signin version
  • your Podfile, output of running pod install and cocoapods version (if applicable)
  • version of Android, gradle, android plugin for gradle, play-services-auth and version of the Google Play Services app on your phone (if applicable)
  • version of iOS (if applicable)

Most helpful comment

Please check your device date & time and update it according to the current time and timezone.

All 6 comments

It was working fine few min ago.. I got this error now.

this looks like an error with the native SDK, not this package. does it work again now?

Worked after few minutes without any change in code.

Please check your device date & time and update it according to the current time and timezone.

I had the same issue on my device (iOS). It was because the phone wasn't in "Set automatically" Date & Time. This erreur is related to the Google SDK.

Same issue, time was correct, time zone wasn't. Corrected time zone and the error went away.

Was this page helpful?
0 / 5 - 0 ratings