The keycloak project ended with four open questions that design could not
settle. A two-VM lab was built to answer them by measurement, and this is
that material: 26 experiments, 125 raw command outputs, 22 browser captures.
Follows the import procedure in README.md.
source/ the originating repository verbatim — 78 documents, 28 SVGs,
8 manifests, plus .source-revision recording the commit
final/ the SSOT
document.md 729 lines written from the 29 experiment documents, not
concatenated: what was predicted, what was measured, and
where the measurement itself was wrong
evidence/raw 125 outputs, flattened to <experiment>__<file> because
the originals collided (01-baseline.txt appeared three
times) and the audit only globs the top level
evidence/meta one per raw file; command and exitCode are null and the
README says why rather than inventing them
evidence/browser 22 captures
assets/ three diagrams through techviz
.techviz/ their VizSpecs
A separate project rather than an addition to keycloak: the B-layer answers
that project's four questions, but the A, C and D layers are about cluster
failure, SSO and operations, and one document.md should hold one subject.
The four question records there can point here through 관계.
Recorded rather than papered over: only three of the 28 diagrams were
remade. The repository forbids hand-drawn SVG and forbids titles inside the
canvas; all 28 originals carry both, so converting them is redrawing, not
reformatting. They stay in source/ and the gap is written into the document.
verify-pipeline.py passes. audit-records.py reports no issues.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1.9 KiB
1.9 KiB
C-1 — 다중 앱 SSO 증거
2026-09-04 16:15–16:30 KST
해설: docs/experiment-c1-multi-app-sso.md
| 파일 | 무엇을 보여주는가 |
|---|---|
01-baseline.txt |
초기화 시도 — logout-all 이 안 먹어 세션 4개가 남았다 |
02-after-app1-login.txt |
app1 로그인 후 — user session 1 · client session 1 · Redis 1 · DB 1행 |
03-after-app2-visit.txt |
app2 방문 후 client session 1 → 2, bff-confidential 과 oauth2-proxy 가 같은 user session 에 붙음. Redis 에 두 종류 세션 |
04-sso-session-killed.txt |
IdP 세션 삭제 후 — 앱 세션 셋 다 남아 있다. realm 을 join 해 보고서야 남은 것이 master 세션임을 확인 |
c1-sso-app2-no-login-screen.png |
app2 가 로그인 화면 없이 열린 화면 |
c1-apps-alive-after-idp-logout.png |
IdP 세션을 죽인 뒤에도 그대로 열리는 화면 |
핵심 세 줄
- SSO 는 user session 1개에 client session N개 구조다 — A-3(전체 소실)과 B-3(client 만 제거)의 차이가 여기서 의미를 갖는다.
- IdP 세션을 죽여도 두 앱은 계속 동작한다. 세 층(IdP·앱·토큰)의 수명이 각자이기 때문이다.
- IdP 는 "로그인 경로"의 단일 장애점이지 "이미 로그인한 사용자"의 단일 장애점이 아니다. 장애는 앱 세션 수명만큼 지연되어 몰려온다.
스크린샷 주의
c1-sso-app2-no-login-screen.png 과 c1-apps-alive-after-idp-logout.png 는
바이트 단위로 동일한 파일이다 (md5 2c703176…). 두 시점의 화면이 실제로
같은 내용이었기 때문이며, 조작이 아니다. 다만 그래서 두 시점을 구별하는
증거가 되지 못한다 — 구별은 03- 과 04- 의 터미널 출력(client_sessions
1→2, 그리고 IdP 세션 삭제 후 Redis 키 잔존)이 한다.