gcx/backend/services/auth-service/src/infrastructure
hailin 828770add8 fix(alipay): 适配 tobias 5.x 新 auth API,后端生成签名 authString
tobias 3.x+ 移除了顶层函数 aliPayAuth(appId, scope),
改为需要后端预签名的 Tobias().auth(authString)。

变更:
- alipay.provider.ts: 新增 generateMobileAuthString(scope) 方法,
  用 RSA2 私钥生成符合 Alipay SDK 格式的签名授权字符串
- auth.controller.ts: 新增 GET /auth/alipay/auth-string 接口
- pubspec.yaml: tobias ^3.0.0 → ^5.0.0
- auth_service.dart: 新增 getAlipayAuthString() 方法
- welcome_page.dart: 更新支付宝登录流程,先获取 authString 再调用 tobias

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-04 09:26:30 -08:00
..
alipay fix(alipay): 适配 tobias 5.x 新 auth API,后端生成签名 authString 2026-03-04 09:26:30 -08:00
apple docs(auth): 完善三方登录模块注释 — 含申请步骤与算法说明 2026-03-04 04:56:11 -08:00
email docs(auth): 完善邮件注册模块注释与说明 2026-03-04 03:20:42 -08:00
google docs(auth): 完善三方登录模块注释 — 含申请步骤与算法说明 2026-03-04 04:56:11 -08:00
kafka feat: 完成全部后端微服务开发 (10服务/373文件/15586行代码) 2026-02-12 17:09:12 -08:00
persistence feat(auth): 微信登录 / 注册完整实现 — social_accounts + fluwx 全链路 2026-03-04 03:37:51 -08:00
redis docs(auth): 完善邮件注册模块注释与说明 2026-03-04 03:20:42 -08:00
sms feat(auth): SMS 模板按类型分发 + 阿里云 8 模板配置 2026-03-03 05:13:16 -08:00
strategies feat: 完成全部后端微服务开发 (10服务/373文件/15586行代码) 2026-02-12 17:09:12 -08:00
wechat docs(auth): 完善微信登录模块注释 — 含申请移动应用完整步骤 2026-03-04 04:04:26 -08:00