Repository navigation
docs: 多实例共享 SSO 配置与部署约定 - #60
Merged
Merged
Conversation
opendev9
marked this pull request as ready for review
December 2, 2026 02:11
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.
范围
复用现有 OAuth、启动器回调生成与 Compose 多 env-file 能力。同一安全域共享 Client 和公共 .env.sso,保留各实例准确回调、会话和权限。更新现有部署 README/.env.example,忽略本地 .env.sso。默认单实例启动不变。不新增协议、网关、配置中心或运行参数。
已验证
上海 Mac(Docker Compose v5.5.0),以 dev@54986ab86 的实际 docker-compose.yml/.env.example 和启动器 _settings_block_sso 函数(辅助函数测试桩)做隔离临时目录检查:两组合成实例共享 OAuth Client ID/Secret、端点及 identity 配置;各自 hostname 和生成的 /oauth/callback/ 正确;启用的相关服务继承共同配置。2/2 通过。只执行 Compose config 与函数级验证,无真实密钥、服务启动、镜像构建或部署。
待 DEV 验收
真实 Authentik Provider strict 回调清单、EAP bootstrap 白名单、首次登录/建号/UID、并发访问/独立 Cookie、撤权注销、文件操作及故障隔离。生产不动。