otp-verification

Automates OTP generation, SMS delivery via Twilio, verification, and JWT issuance for Django backends.

1|Updated Jan 28, 2026
One-click install
npx skills add https://github.com/Benmore-Studio/Benmore-Meridian --skill otp-verification
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: otp-verification
Source: https://github.com/Benmore-Studio/Benmore-Meridian/tree/main/skills/otp-verification
Command: npx skills add https://github.com/Benmore-Studio/Benmore-Meridian --skill otp-verification

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The OTP Verification Implementation Skill provides a secure, scalable way to verify users via one-time codes delivered to their phones, removing the need for passwords in mobile flows and reducing fraud risk.

Core Features & Use Cases

  • OTP generation & verification: Create time-limited codes, validate user input, and issue tokens on successful verification.
  • SMS delivery with expiry: Send codes via SMS (Twilio) with a configurable 10-minute expiry window and audit logging.
  • Rate limiting & auditing: Enforce per-IP and per-phone-rate limits, plus detailed OTP request logs to deter abuse and support investigations.
  • End-to-end flow: Integrates backend (Django) models, service layer, and mobile app client to support login, 2FA, and password-reset-style verification.
  • Use Case: A customer purchases a House Service Pass, validates a phone-bound pass, requests an OTP, verifies it, and receives JWT tokens for session.

Quick Start

Configure backend OTP models, service, and endpoints, then integrate the mobile app to request and verify codes.

Frequently Asked Questions about otp-verification

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement OTP verification in a Django backend using Twilio for SMS delivery?

Implementing OTP verification in Django involves generating time-limited codes, sending them via Twilio SMS, and validating user input against stored codes with configurable expiry windows and attempt limits.

What is the best way to add phone-based rate limiting to an OTP authentication workflow?

Phone-based rate limiting for OTP authentication is best handled by enforcing per-IP and per-phone-number request limits, combined with detailed audit logging of OTP requests to deter abuse and support investigations.

How does OTP verification issue JWT tokens after a successful code validation in a mobile app?

OTP verification issues JWT tokens by validating the user's input code against the backend's stored OTP, and upon successful match within the expiry window, generating and returning JWT tokens to establish the mobile app session.

Can I use Django and Twilio for passwordless customer authentication with SMS one-time codes?

Yes, you can use Django and Twilio for passwordless customer authentication by generating one-time codes, delivering them via SMS, and verifying the codes to issue session tokens, removing the need for traditional passwords.

What are the limitations of OTP verification when handling rate limits and code expiration?

Limitations of OTP verification include strict rate limits per IP and phone number to prevent abuse, alongside a fixed 10-minute code expiration window, meaning expired or over-requested codes will be rejected.

Do I need a separate service layer to manage OTP generation and logging in a mobile app backend?

Yes, a separate service layer is needed to manage OTP generation and logging, acting as an intermediary between Django models and endpoints to handle SMS delivery, rate limiting, and secure verification logic.