otp-verification - Implement and maintain OTP authentication
Guides implementation and maintenance of OTP authentication for the House Service Pass mobile app and Django backend.
Tags
Updated: 2026-11-25Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Implement OTP data models
- Generate secure six-digit OTPs
- Validate OTP codes
- Enforce phone rate limits
- Log OTP requests
- Send OTP codes via SMS
- Issue JWT tokens
- Investigate authentication fraud
Inputs
- Mobile app and Django backend codebase
- Customer phone number
- HSP pass code
- OTP code
- OTP purpose
- Client IP address
Outputs
- Masked phone number
- SMS OTP message
- OTP verification result
- JWT authentication tokens
- Rate-limit status
- OTP database records
- OTP request audit logs
Requirements
- Django backend environment
- Configured cache backend
- Twilio SMS service
- JWT authentication support
