From a8aa941ed58246de36236cf576411e146a8c8a38 Mon Sep 17 00:00:00 2001 From: "LincPay Solutions Pvt. Ltd." Date: Mon, 11 May 2026 12:30:53 +0530 Subject: [PATCH] Update fineract-provider/src/main/resources/application.properties --- .../src/main/resources/application.properties | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/fineract-provider/src/main/resources/application.properties b/fineract-provider/src/main/resources/application.properties index 0eaa84e72..a26ec2b0c 100644 --- a/fineract-provider/src/main/resources/application.properties +++ b/fineract-provider/src/main/resources/application.properties @@ -664,3 +664,25 @@ fineract.openproject.api-token=${FINERACT_OPENPROJECT_API_TOKEN:57dd9f933f113c72 # ── DIP / MNRL Mobile Number Lookup ────────────────────────────────────────── fineract.mobile-lookup.base-url=${FINERACT_MOBILE_LOOKUP_BASE_URL:http://localhost:8080} + + +# ── Login OTP (2FA) — uses LincPay credentials above ───────────────────────── +fineract.security.otp.lincpay.generate-path=${FINERACT_OTP_LINCPAY_GENERATE_PATH:/mobile/generate-otp} +fineract.security.otp.lincpay.verify-path=${FINERACT_OTP_LINCPAY_VERIFY_PATH:/verify-mobile-otp} +fineract.security.otp.ttl-seconds=${FINERACT_OTP_TTL_SECONDS:300} +fineract.security.otp.max-attempts=${FINERACT_OTP_MAX_ATTEMPTS:5} + +# ── Spring Mail (email OTP, alerts, password reset) ────────────────────────── +# IMPORTANT: the password below is a Gmail App Password (NOT the account password). +# Keep env-var override for prod — set SPRING_MAIL_PASSWORD in production environments. +spring.mail.host=${SPRING_MAIL_HOST:smtp.gmail.com} +spring.mail.port=${SPRING_MAIL_PORT:587} +spring.mail.username=${SPRING_MAIL_USERNAME:inform.notifications@gmail.com} +spring.mail.password=${SPRING_MAIL_PASSWORD:vjvgdqxsivbipefw} +spring.mail.properties.mail.smtp.auth=${SPRING_MAIL_SMTP_AUTH:true} +spring.mail.properties.mail.smtp.starttls.enable=${SPRING_MAIL_STARTTLS:true} +spring.mail.properties.mail.transport.protocol=smtp + +fineract.email.from-address=${FINERACT_EMAIL_FROM_ADDRESS:no-reply@cbsnexora.com} +fineract.email.from-name=${FINERACT_EMAIL_FROM_NAME:CBSnexora} +fineract.email.support-address=${FINERACT_EMAIL_SUPPORT_ADDRESS:support@cbsnexora.com}