-
Type: Bug
-
Resolution: Done
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
2 - S (<= 1 week)
-
5078
How frequently does the bug occur?
All the time
Description
Uncaught (in promise) Error: google(<tokenString>) has been deprecated. Please use google(<authCodeObject>).
I have received this error. All tough I was following the original docs both for google one tap connect and realm. Did some digging and found that this error shows when creating realm credential for google. I am using the realm web sdk with react. This error is generating from bundle.dom.es.js }}at line 2386 in method {{derivePayload. If there is any solution or some has faced this issue before it will be grate if you can share the solution. The same issue can be recreated by using the code provided in the realm web sdk google authentication code sample.
https://www.mongodb.com/docs/realm/web/authenticate/#std-label-web-google-onetap
Stacktrace & log output
No response
Can you reproduce the bug?
Yes, always
Reproduction Steps
No response
Version
2.0.0
What SDK flavour are you using?
Atlas App Services (auth, functions, etc.)
Are you using encryption?
No, not using encryption
Platform OS and version(s)
Mac
Build environment
React
Cocoapods version
No response