**Is your feature request related to a problem? Please describe.**
In the current version of the application there is no way to reset your password in case you forget it and there is not way to request another OTP either.
**Describe the solution you'd like**
Implement both the functionalities for a better User experience as these have become the industry standard.
**Are you working on this? (Yes/No)**
No
Hi @himanshugoyal77 π,
Iβd like to propose implementing the Forgot Password + Email OTP Reset feature. There are two possible approaches we can consider:
πΉ Approach 1: Firebase-Only (Built-in Reset Flow)
Flow:
Use sendPasswordResetEmail() from Firebase Auth.
Firebase automatically emails the user a secure reset link.
User resets their password directly via Firebaseβs hosted flow.
Pros:
Simple, ready-to-use, highly secure.
Zero extra infrastructure needed.
Free for unlimited password reset emails.
Cons:
Link-based reset (not OTP).
Cost:
Free for small, medium, and large apps.
πΉ Approach 2: AWS Serverless (Custom Email OTP Reset)
Flow:
User requests password reset β AWS Lambda generates OTP.
OTP stored in DynamoDB with 5 min expiry.
OTP sent via Amazon SES email.
User enters OTP + new password.
Lambda verifies OTP β updates password via Firebase Admin SDK.
Pros:
Fully customizable OTP flow.
Cheap, scalable, and serverless.
Email OTP is familiar UX for users.
Cons:
Slightly more setup (Lambda, SES, DynamoDB).
Responsibility for OTP security/expiry handling.
Cost:
AWS SES β 62,000 emails/month free, then $0.10 per 1,000 emails.
AWS Lambda + DynamoDB β free tier covers most apps.
Example:-
Small app (<10k OTP/month) β Free.
Medium app (30k OTP/month) β ~$3/month.
Large app (100k OTP/month) β ~$10/month.
β Both approaches are secure and affordable.
If we want fastest implementation β Firebase-only is best.
If we want custom OTP experience β AWS serverless flow is ideal.
Could you please assign this issue to me? Iβd love to implement the solution π
Thanks!