✨ 实现最小可用客户端管理系统 - #1
Merged
Merged
Conversation
UE-DND
force-pushed
the
codex/oidc-client-management
branch
from
July 13, 2026 07:33
70a1911 to
ddb9709
Compare
UE-DND
force-pushed
the
codex/oidc-client-management
branch
from
July 13, 2026 07:48
ddb9709 to
98e9396
Compare
UE-DND
marked this pull request as ready for review
July 13, 2026 07:50
UE-DND
added a commit
that referenced
this pull request
Aug 18, 2026
UE-DND
added a commit
that referenced
this pull request
Aug 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更概述
将 OIDC 客户端配置从手工维护 JSON 升级为数据库驱动的最小可用客户端管理系统,并保持现有 Authorization Code + PKCE 流程兼容。
oidc-clients.json仅在客户端表为空时尝试事务化初始化;缺失或空文件可从零客户端启动数据库影响
这是面向全新部署的 schema 变更,不提供旧版
oidc_clients数据回填。发现旧表缺少新字段时会给出明确的不兼容启动错误,不会自动删表或破坏性重建。扩展
oidc_clients,新增draft状态和rejection_reason;同时新增management_sessions、oidc_client_audit_logs及相关索引。安全与状态设计
scopeWhitelist包含openid提交拆分
✨ 实现客户端管理后端与数据库💄 增加客户端管理控制台✅ 补充客户端管理回归测试📝 更新客户端管理部署文档验证
pnpm lintpnpm test:服务端 136/136,UI 2/2pnpm buildgit diff --check暂不包含
完整客户端 Revision 表与 Active Revision 原子切换、Dynamic Client Registration、Native、M2M、使用统计、域名验证、组织系统、Secret 重置/轮换、双 Secret 和 Disabled 客户端恢复。