feat(sms): add selectable provider strategy

This commit is contained in:
2026-07-14 09:45:40 +03:30
parent 2264b7fc95
commit e382c4f93a
10 changed files with 171 additions and 12 deletions

View File

@@ -11,9 +11,11 @@ OTP_TTL_SECONDS=120
OTP_MAX_ATTEMPTS=5
OTP_REQUEST_LIMIT=3
OTP_REQUEST_WINDOW_SECONDS=300
SMS_PROVIDER=kavenegar
KAVENEGAR_API_KEY=replace-with-real-key
KAVENEGAR_LOGIN_TEMPLATE=login-otp
SMS_IR_API_KEY=replace-with-real-key
SMS_IR_VERIFY_TEMPLATE_ID=570574
ADMIN_MOBILE=989120000000
GRPC_HOST=0.0.0.0
GRPC_PORT=50051