Actions
Task #558
closedFeature #533: Authentication Hum Rahi
EPIC #539: Epic: User Authentication - OTP Verification & Security
User Story #541: User Story HR-BE-01: OTP Validation API & Token Generation
Implement OTP Validation Logic
Start date:
Due date:
% Done:
100%
Estimated time:
Reviewer:
Description
Developed the core logic to validate the submitted OTP against the stored OTP in Redis. The service retrieves the stored OTP using the normalized phone number and compares it with the OTP received in the request.
Key Responsibilities:
- Fetch OTP from Redis using key format (otp:{phoneNumber}).
- Compare stored OTP with the submitted OTP.
- Handle mismatch and invalid cases.
No data to display
Actions