phamnazage-jpg
4e2ee087fd
feat(vNext.4): implement trusted-subject security chain for portal user key self-service
- Add portal_auth.go: Portal user session auth with HMAC-signed cookies
- Add /api/portal/session/{login,logout,state} endpoints
- Update nginx config template: cookie-to-header trusted proxy pattern
- Update frontend: sync CRM session on login/logout
- Add TRUSTED_SUBJECT_DEPLOY_GUIDE.md with remote43 deployment steps
- Update EXECUTION_BOARD.md: mark trusted-subject blocking issue as resolved
This implements the secure chain:
Browser → Portal → nginx (cookie→header) → CRM (verify proxy secret)
Required remote43 actions:
1. Generate 64-char hex secret
2. Update .env.crm with TRUSTED_* config
3. Update nginx with cookie map and header injection
4. Restart services
Fixes EXECUTION_BOARD.md 2026-06-08 blocking issue
2026-06-09 07:48:03 +08:00
..
2026-06-04 20:02:36 +08:00
2026-05-28 11:01:29 +08:00
2026-06-09 07:48:03 +08:00
2026-06-07 12:19:24 +08:00
2026-05-25 07:30:07 +08:00
2026-05-23 09:18:02 +08:00
2026-05-27 20:23:42 +08:00
2026-06-01 09:55:11 +08:00
2026-06-07 12:19:24 +08:00
2026-05-23 09:18:02 +08:00
2026-06-09 07:48:03 +08:00
2026-06-01 09:55:11 +08:00
2026-06-09 07:48:03 +08:00
2026-05-27 20:23:42 +08:00
2026-05-23 09:18:02 +08:00
2026-05-23 10:55:57 +08:00
2026-05-23 09:18:02 +08:00
2026-06-09 07:48:03 +08:00
2026-06-09 07:48:03 +08:00
2026-06-09 07:48:03 +08:00
2026-06-09 07:48:03 +08:00
2026-05-30 16:40:55 +08:00
2026-05-30 10:54:32 +08:00
2026-06-07 12:19:24 +08:00
2026-05-30 10:54:32 +08:00
2026-06-09 07:48:03 +08:00
2026-06-09 07:48:03 +08:00
2026-05-30 16:40:55 +08:00
2026-05-29 19:07:01 +08:00
2026-06-09 07:48:03 +08:00
2026-05-25 07:30:07 +08:00
2026-06-01 09:55:11 +08:00
2026-05-29 13:37:43 +08:00
2026-05-29 13:37:43 +08:00
2026-05-28 21:24:05 +08:00
2026-05-28 21:24:05 +08:00
2026-05-29 13:17:56 +08:00
2026-05-29 13:17:56 +08:00
2026-06-08 14:49:06 +08:00
2026-06-08 14:49:06 +08:00
2026-05-29 07:43:29 +08:00
2026-05-29 07:43:29 +08:00
2026-06-02 07:07:53 +08:00
2026-06-09 07:48:03 +08:00
2026-06-07 12:19:24 +08:00