简体   繁体   English

MongoDB Realm 有 [与 OAuth2 提供程序交换访问代码时出错]

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

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) .通过 GoogleSignInSDK 使用 Google 登录,然后从 google 获取token ,并将其用于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 .但我总是收到错误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 [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陈清中

I encountered this bug too and it seems that it's being treated as a known issue by the developers.我也遇到了这个错误,它似乎被开发人员视为一个已知问题。

https://github.com/realm/realm-js/issues/3116 https://github.com/realm/realm-js/issues/3116

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM