Validation for email field in Signup form
Closed this issue · 7 comments
Anuj-Gill commented
Anuj-Gill commented
@ani1609 @niladrix719 Please assign this issue to me. I am learning express and learned about ZOD validation library, so I think I can fix this bug for KWoC.
ani1609 commented
@Anuj-Gill we have decided to shift the authentication process to firebase authentication where the users will be sent a verification link over email. Will your idea be helpful in that scenario?
Anuj-Gill commented
@ani1609 I believe yes, because we can use ZOD to pre-validate the email address format before sending it to Firebase for verification. This can improve server efficiency by catching obvious errors beforehand.
niladrix719 commented
@Anuj-Gill sure go ahead
ani1609 commented
@Anuj-Gill any update?
ani1609 commented
@Anuj-Gill done