AkshitLakhera / PenCraft-Full-Stack-Blogging-Application

PenCraft: React frontend, Cloudflare Workers backend. Features Prisma for DB, JWT for auth, and Tailwind CSS with Aceternity UI components for styling. Simplifying blogging with efficiency.
https://pen-craft.vercel.app
MIT License
24 stars 50 forks source link

Implement OTP Verification for Signup and Password Reset #18

Open HarshitShukla-dev opened 1 month ago

HarshitShukla-dev commented 1 month ago

Hi, I would like to propose adding an OTP verification feature during the signup process. Additionally, this functionality will also be implemented for the "Forgot Password" feature to enhance security.

Proposed changes:

  1. Implement OTP verification for user signup.
  2. Include OTP verification for the password reset process.
  3. Ensure that the OTP can be sent via email, based on the existing user information.

This enhancement will significantly improve the security of user accounts. Could you please assign this issue to me?

Thank you!

AkshitLakhera commented 1 month ago

Hi @HarshitShukla-dev , Thank you for bringing up this enhancement. I've assigned the issue to you. Please go ahead with the implementation, and do let me know if you face any difficulties along the way. I'm happy to assist if needed. All the best :)

kushagra0304 commented 1 month ago

Hey @HarshitShukla-dev, Issue #20 is assigned to me and it works in conjunction with your issue #18. Can we work together to fix the issues?

AkshitLakhera commented 1 month ago

See guys @kushagra0304 @HarshitShukla-dev , there is one other guy who also have suggested to add forgot password feature.I want you all guys work together and complete this whole thing.I will make this level 3 issue and add all three of you in this. Okay ?

Sourabh782 commented 1 month ago

@HarshitShukla-dev @kushagra0304, i am working on Forgot password, can we three work together as out tasks are similar?

Sourabh782 commented 1 month ago

@HarshitShukla-dev @kushagra0304 my discord tag is Sourabh782#4309 and display name is hero123 in gssoc24 channel, tag me so we can rotk together

Sourabh782 commented 1 month ago

@AkshitLakhera, actually i and @HarshitShukla-dev recently connected for the project working flow, and decided to start working on it. So can we start contributing to it?

HarshitShukla-dev commented 1 month ago

See guys @kushagra0304 @HarshitShukla-dev , there is one other guy who also have suggested to add forgot password feature.I want you all guys work together and complete this whole thing.I will make this level 3 issue and add all three of you in this. Okay ?

Yeah, it works

AkshitLakhera commented 1 month ago

@AkshitLakhera, actually i and @HarshitShukla-dev recently connected for the project working flow, and decided to start working on it. So can we start contributing to it?

Yes you both can start if @kushagra0304 you be interested I will add him too.

AkshitLakhera commented 1 month ago

@HarshitShukla-dev @Sourabh782 any progress update guys ?

Sourabh782 commented 1 month ago

yes @AkshitLakhera, currently working on frontend part,

Screenshot 2024-10-04 172526

Email taking page done, now designing otp page to take otp input and new password

AkshitLakhera commented 1 month ago

yes @AkshitLakhera, currently working on frontend part,

Screenshot 2024-10-04 172526

Email taking page done, now designing otp page to take otp input and new password

Good going guys, which service are you using for otp sending ?

Sourabh782 commented 1 month ago

@AkshitLakhera we haven't figured out it yet, but I have experience with resend mail. Do you have any good ideas about which services should we use ?

AkshitLakhera commented 1 month ago

@AkshitLakhera we haven't figured out it yet, but I have experience with resend mail. Do you have any good ideas about which services should we use ?

Yeah ,go with resend it is best as far as I know.

Sourabh782 commented 1 month ago

@AkshitLakhera we haven't figured out it yet, but I have experience with resend mail. Do you have any good ideas about which services should we use ?

Yeah ,go with resend it is best as far as I know.

Sure, and actually I have some exam on weekend so till next week will complete it

Sourabh782 commented 1 month ago

@AkshitLakhera Hii can you verify frontend part?

Screenshot 2024-10-05 182421 Screenshot 2024-10-05 182435 Screenshot 2024-10-05 182446 Screenshot 2024-10-05 182454

The user flow will be in same order as ss

after reset password, user will be sent to signin page

Sourabh782 commented 1 month ago

@HarshitShukla-dev can you message me on discord?

AkshitLakhera commented 1 month ago

@Sourabh782 are things are working fine in your end? Are you able to signin /up ?

Sourabh782 commented 1 month ago

@AkshitLakhera actually we decided to split tasks and i developed frontend. but i havent heard from him since 2nd oct. The navigation is working on my part, just need to integrate APIs, so should i wait or start working on backend too?

AkshitLakhera commented 1 month ago

@AkshitLakhera actually we decided to split tasks and i developed frontend. but i havent heard from him since 2nd

you complete from your end , if he will not show up I will assign only to you

AkshitLakhera commented 1 month ago

@Sourabh782 what's your discord username ?

Sourabh782 commented 1 month ago

@Sourabh782 what's your discord username ?

sourabh782

Sourabh782 commented 1 month ago

@AkshitLakhera actually we decided to split tasks and i developed frontend. but i havent heard from him since 2nd

you complete from your end , if he will not show up I will assign only to you

My part is ready just have to add backend calls and its good to go

AkshitLakhera commented 1 month ago

@Sourabh782 come in discord , I want to tell something to you .