https://supertokens.com/ logo
Title
i

ITEnthusiasm

12/05/2022, 5:24 PM
Is there any difference between calling `signUp`/`signIn` vs. using the pre-defined Express routes?
r

rp

12/06/2022, 2:51 AM
Hey @ITEnthusiasm
The api does input validation (checks for email syntax and password strength), calls the signUp / signIn function and also creates a new session
i

ITEnthusiasm

12/06/2022, 1:06 PM
Okay. So if I run
signUp
, I'm not guaranteed to get a check for password strength, and the user will have to login?
r

rp

12/06/2022, 1:06 PM
correct
i

ITEnthusiasm

12/06/2022, 1:07 PM
Okay. That's helpful to know. Is there a function that does the strength check for us?
It's probably as simple as a regex 🤔
r

rp

12/06/2022, 1:08 PM
i

ITEnthusiasm

12/06/2022, 1:18 PM
Ah, gotcha. Cool.
Thanks for the help as always! 😅 🙏🏿
r

rp

12/06/2022, 1:19 PM
happy to help