MongoDB Realm has [error exchanging access code with OAuth2 provider]

Viewed 447

I am currently creating a simple app with the purposes are:

  • Sign In with Google through GoogleSignInSDK then get the token from google, and use that for io.realm.mongodb.Credentials.google(token).
  • But I always get the error E/SignInActivity: AUTH_ERROR(realm::app::ServiceError:47): error exchanging access code with OAuth2 provider.

I tried:

[Error on realm.mongodb.com][1][1]: https://i.stack.imgur.com/Esgi5.png

Thanks so much for reading this, I hopelessly waiting for anyone who has a solution for the same problems.

Tran Thanh Trong

1 Answers
Related