keyshade icon indicating copy to clipboard operation
keyshade copied to clipboard

PLATFORM: Implement resend OTP flow

Open kriptonian1 opened this issue 4 months ago • 7 comments

Description

In the current auth flow, we don't have a resent OTP button, meaning if the OTP times out, you don't have a way to get the OTP. You need to implement the resent OTP in the /auth/otp.

Scope of Work

  • You need to implement the UI for resend OTP flow in the apps/platform/src/app/auth/otp/page.tsx page.
  • When the resent OTP button is clicked, you need to call {BASE_URL}/api/auth/send-otp/:email endpoint

URLs you need

  • Figma UI for resend OTP flow link
  • Postman URL for {BASE_URL}/api/auth/send-otp/:email link

kriptonian1 avatar Oct 06 '24 13:10 kriptonian1