feat(auth): 用 Casdoor 校验地址令牌并完成 M02

HXOPS 打开带 token 的地址时,前端只把令牌交给后端,后端向 Casdoor userinfo 校验。D20 接受该实例上任意仍然有效的访问令牌。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
unknownandCursor committed 2026-11-17 19:41:31 +08:00
1 parent ab31d828d4
commit f8e1c77bd3
17 files changed
+322 -114

No files matched your search

+3 -3
View File
@@ -1,6 +1,6 @@
{
"taskId": "2026-11-17/m02-auth",
"phase": "review",
"phase": "done",
"allowedToCode": false,
"gatePolicy": {
"recommended": "strict",
@@ -10,6 +10,6 @@
},
"requirement": ".task/2026-11-17/m02-auth/requirement.md",
"implementationPlan": ".task/2026-11-17/m02-auth/implementation-plan.md",
"currentSlice": "S2",
"nextGate": "user-confirm-s3"
"currentSlice": "done",
"nextGate": "none"
}