You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Error: resetDetails must be of type'object', got ([email protected])
at /myProject/node_modules/realm/lib/email-password-auth-methods.js:76:35
at /myProject/node_modules/realm/lib/utils.js:52:7
at new Promise (<anonymous>)
at promisify (/myProject/node_modules/realm/lib/utils.js:51:12)
at EmailPasswordAuth.callResetPasswordFunction (/myProject/node_modules/realm/lib/email-password-auth-methods.js:76:12)
at _callee$ (/myProject/utils/resetPassword.js:11:31)
at tryCatch (/myProject/node_modules/regenerator-runtime/runtime.js:63:40)
at Generator.invoke [as _invoke] (/myProject/node_modules/regenerator-runtime/runtime.js:294:22)
at Generator.next (/myProject/node_modules/regenerator-runtime/runtime.js:119:21)
at asyncGeneratorStep (/myProject/utils/resetPassword.js:11:103)
Can you reproduce the bug?
Yes, always
Reproduction Steps
Enable email/password auth for Realm Application
Configure it to run custom password reset function
Register a user
Try to run password reset function for registered user:
How frequently does the bug occur?
All the time
Description
I use NodeJS Realm SDK.
I expect my password reset function to be called when I do the following:
or at least when I use new API as this is described here:
But both approaches result in the same error.
Stacktrace & log output
Can you reproduce the bug?
Yes, always
Reproduction Steps
Version
10.10.1
What SDK flavour are you using?
MongoDB Realm (i.e. Sync, auth, functions)
Are you using encryption?
No, not using encryption
Platform OS and version(s)
Debian GNU/Linux 9.13 (stretch)
Build environment
No response
The text was updated successfully, but these errors were encountered: