feat: support Aliyun PNVS SMS verification

This commit is contained in:
Codex
2026-07-03 22:34:19 +08:00
parent 8ebe505dba
commit 69b3d80621
11 changed files with 441 additions and 59 deletions

View File

@@ -18,11 +18,9 @@ AUTH_SESSION_SECRET=replace-with-strong-random-session-secret
AUTH_CODE_PEPPER=replace-with-strong-random-code-pepper
PLATFORM_ADMIN_API_KEY=replace-with-strong-random-platform-admin-key
AUTH_SMS_PROVIDER=aliyun
ALIYUN_SMS_ACCESS_KEY_ID=replace-with-access-key-id
ALIYUN_SMS_ACCESS_KEY_SECRET=replace-with-access-key-secret
ALIYUN_SMS_SIGN_NAME=replace-with-sms-sign
ALIYUN_SMS_TEMPLATE_LOGIN=replace-with-template-code
# Supported production values: aliyun, aliyun-pnvs, tencent.
# Tenant-level SMS AccessKey/SecretKey live in app_private.tenant_secrets, not in this env file.
AUTH_SMS_PROVIDER=aliyun-pnvs
WECHAT_MINIAPP_APP_ID=replace-with-miniapp-app-id
WECHAT_MINIAPP_APP_SECRET=replace-with-miniapp-app-secret