ChatDiagram
Password Reset · OTP · API

Password Reset OTP API Flow

النوع مخطط انسيابيالمعيار Sugiyama layered DAG + orthogonal routingالمحرّك schematex-flowchartآخر تحديث 29‏/9‏/2026
Password Reset OTP API Flow
Drawing preview
السيناريو

A Spring Boot microservice handles password reset by generating a 6-digit OTP, storing its hash in Redis with a 10-minute TTL, sending it via AWS SES, and verifying user submission before updating the password.

ما الذي يتضمنه هذا الرسم

اقرأ القرارات الكامنة وراءه.

01

Account existence check returns generic success to prevent user enumeration

02

OTP validity and expiry check before password update

03

Email delivery failure returns 502 after logging

Use for any web service implementing one-time password based password reset with Redis and transactional email.

تصفّح جميع قوالب مخطط انسيابي ←