Actions
Task #559
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 Expiry Handling
Start date:
Due date:
% Done:
100%
Estimated time:
Reviewer:
Description
Added logic to detect expired OTPs by checking the Redis cache entry. If the OTP is not found or has expired due to TTL, the verification request is rejected.
Key Responsibilities:
- Detect missing or expired OTP values.
- Return appropriate error message when OTP has expired.
- Ensure verification fails if Redis entry does not exist.
Actions