Project

General

Profile

Actions

Task #559

closed

Feature #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

Added by zaid ali about 1 month ago. Updated about 1 month ago.

Status:
Backend completed
Priority:
low
Assignee:
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:

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

Also available in: Atom PDF