Project

General

Profile

Actions

Task #549

closed

Feature #533: Authentication Hum Rahi

EPIC #534: Epic: User Authentication - Mobile & OTP

User Story #536: User Story 2: Back-End - OTP Generation & WhatsApp Integration

Implement Redis-Based OTP Storage

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

Integrated Redis as a caching layer to store generated OTPs with an expiration time. The OTP is stored against a normalized phone number key to allow later verification.

Key Responsibilities:

  • Store OTP using RedisTemplate.
  • Apply TTL of 5 minutes for automatic expiration.
  • Use structured Redis key format (otp:{phoneNumber}).
Actions

Also available in: Atom PDF