devcoelho
03/15/2023, 3:00 AMThirdPartyEmailPassword
recipe but without success. I'm receiving an Internal Error 500.
Error: SuperTokens core threw an error for a PUT request to path: '/recipe/user' with status code: 500 and message: Internal Error
at Querier.<anonymous> (C:\Users\xxx\Desktop\supertokens-example\supertokens-example-api\node_modules\supertokens-node\lib\build\querier.js:259:31)
at Generator.throw (<anonymous>)
at rejected (C:\Users\xxx\Desktop\supertokens-example\supertokens-example-api\node_modules\supertokens-node\lib\build\querier.js:22:44)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
My code is:
js
let response = await ThirdPartyEmailPassword.updateEmailOrPassword({
userId,
password: updatedPassword
})
UPDATE
It is now working!
Please check the issue https://github.com/supertokens/supertokens-node/issues/514SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).
Powered by