chore(k8s): image tag v0.7.11 → v0.7.12 (userinfo 改裸 OIDC JSON)
OIDC Core 1.0 §5.3 要求 /oauth/userinfo 返回裸 JSON(顶层 {sub,...}),
不要套 {code,msg,data} 信封。Demo app 的 get_identity 读 ui.get('sub')
被信封挡掉 → 取到 None → require_login 重定向回 /login → 死循环。
影响:
- /oauth/userinfo 现在返回 {sub, preferred_username, name, email,
department, groups} 顶层字段,OIDC 客户端可直接解析
- 修复「点击 CRM 无反应」(其实是无限 / → /login 循环)
Co-Authored-By: Claude Code <[email protected]>
This commit is contained in:
1 parent
9b4dd2c589
commit
cd5f00720b
1 file changed
+2
-2
@@ -42,7 +42,7 @@ spec:
|
||||
# 之后业务写盘才炸,最难查)。幂等,每次滚动都会跑。
|
||||
initContainers:
|
||||
- name: init-data-dir
|
||||
image: crpi-yscq976uwza88qap.cn-shenzhen.personal.cr.aliyuncs.com/ssw188/nginx:ipass-sso-v0.7.11
|
||||
image: crpi-yscq976uwza88qap.cn-shenzhen.personal.cr.aliyuncs.com/ssw188/nginx:ipass-sso-v0.7.12
|
||||
imagePullPolicy: IfNotPresent
|
||||
command: ["bash", "-c", "mkdir -p /persist/sso && ls -la /persist"]
|
||||
securityContext:
|
||||
@@ -54,7 +54,7 @@ spec:
|
||||
mountPath: /persist
|
||||
containers:
|
||||
- name: ipass-sso
|
||||
image: crpi-yscq976uwza88qap.cn-shenzhen.personal.cr.aliyuncs.com/ssw188/nginx:ipass-sso-v0.7.11
|
||||
image: crpi-yscq976uwza88qap.cn-shenzhen.personal.cr.aliyuncs.com/ssw188/nginx:ipass-sso-v0.7.12
|
||||
imagePullPolicy: IfNotPresent
|
||||
ports:
|
||||
# 容器只暴露 18098;外部 :88 由 Service nodePort 30082 承接
|
||||
|
||||
Reference in new issue
Block a user