Hello,
I am using managed Supertokens.
Its been working fine since November.
On our user management page, we could manually generate the forget password link.
Yesterday we bulk update some of our users' password (abit hard and long to explain our reasoning).
Now the users can no longer login.
Some of us who can tried to generate the forgot password link but even if the user update their password there, they still can't login.
Resetting password in auth dashboard does not work too.
Backend: supertokens-node@12.1.4
Frontend: supertokens-auth-react@0.30.2
Core: 4.2
Edit:
The user management page is our own and not the auth dashboard by supertokens.
Resetting password in auth dashboard does not work too.
r
rp_st
08/17/2023, 6:56 AM
hey @iqrammm
rp_st
08/17/2023, 6:56 AM
does the reset password API return an error? Send an email? What exactly happens?
i
iqrammm
08/17/2023, 7:07 AM
whoops @rp_st ,
Apologies but the issue was resolved.
The bug was in my code in a way?
await updateEmailOrPassword({
userId: input.supertokensId,
email: input.email,
password: input.password
})
Problem was input was not lowercased.
functions like EmailPassword.signUp would actually lowercased it automatically.
So yea tough morning for me but all is well.
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).