From b328f83244235a8d3c5661ea409b6a7307304232 Mon Sep 17 00:00:00 2001 From: syadmin Date: Sat, 14 Nov 2026 22:16:17 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E5=8F=91=E5=B8=83=E6=8C=87=E5=8D=97?= =?UTF-8?q?=E8=A1=A5=E5=85=85=20Casdoor=20=E8=AE=A4=E8=AF=81=E6=8E=A5?= =?UTF-8?q?=E5=85=A5=E8=A6=81=E7=82=B9=EF=BC=88=E5=A7=93=E5=90=8D=E6=98=A0?= =?UTF-8?q?=E5=B0=84=20displayName=E3=80=81SSRF=20=E7=99=BD=E5=90=8D?= =?UTF-8?q?=E5=8D=95=E7=AD=89=E6=9C=8D=E5=8A=A1=E5=99=A8=E4=BE=A7=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/deploy-hxtesting.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/deploy-hxtesting.md b/docs/deploy-hxtesting.md index 3870589..726dcdb 100644 --- a/docs/deploy-hxtesting.md +++ b/docs/deploy-hxtesting.md @@ -36,6 +36,12 @@ - 目录类忽略规则请带前导 `/`(`/artifacts/`)避免误伤深层同名源码目录。 - 登录方式:工号+密码(password grant 直登)或「使用 Casdoor 登录」按钮; 首次登录自动开户并创建个人工作区。 +- 认证接入由部署管理员在服务器 `.env` 维护(不进 git),要点: + 测试 Casdoor `autht.well-trust.com`(应用名 ai-academy);必须配 + `OIDC_AUTH_PASSWORD_LOGIN_ENABLED=true`、`SSRF_WHITELIST=autht.well-trust.com,192.168.100.192`、 + `OIDC_USER_INFO_MAPPING_DISPLAY_NAME=displayName`(**姓名映射:默认 nickname 取不到 + Casdoor 的姓名,漏配则成员列表姓名列为空**;配好后每次登录自动补齐)。 + 详见平台知识库《ai-academy-gitea-actions自动部署指南》第 7 章。 ## 环境信息速查