Files
document-haness/docs/keycloak-session-store/final/assets/c2-backchannel-both-sides/c2-backchannel-both-sides.alt.md
T
DongHyeonkaandClaude Opus 5 95c0e680b5 docs(keycloak-session-store): take the sentences out of the diagram canvases
The skill says drawings carry names and sentences go in <desc> and the
paragraph beside the figure. I put sentences in node details and edge labels
instead, and 27 of the 28 diagrams shipped with prose inside the canvas —
"예측 다섯 개가 틀렸다", "아홉 번 조용히 실패했다", "막혀서 닿지 않는다".

Only label and details render on the canvas; description does not. So every
sentence moved to a noun phrase and the meaning stays in description, which
was already carrying it.

  막혀서 닿지 않는다              -> 차단
  아홉 번 조용히 실패했다         -> 조용한 실패 9건
  예측 다섯 개가 틀렸다           -> 틀린 예측 5건
  로그아웃이 정리하지 않는다      -> 로그아웃 미정리
  볼륨이 없으면 여기까지다        -> 볼륨 없음

Three node labels were sentences too and became names: 세션 스냅샷, 예측
선기록, 대조군 확보.

What stays is what the rules protect — identifiers, commands and measured
values: PRIMARY KEY (client_registration_id, principal_name),
ValidationFailedException: 1 changesets check sum, nginx -t && nginx -s
reload, SET LOCAL synchronous_commit TO OFF. Those are names of things, not
prose about them.

294 canvas strings across 28 diagrams, none matching a sentence ending,
average 11 characters. All 28 still lint clean and re-rendered.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-05 11:50:33 +09:00

1.5 KiB
Raw Blame History

백채널 로그아웃은 양쪽이 있어야 한다

Alternative text

Keycloak 이 부를 주소와 앱이 받을 엔드포인트가 각각 비어 있어 로그아웃 통지가 어느 쪽에서도 성립하지 않는 구성.

Long description

C-1 에서 로그아웃이 다른 앱으로 퍼지지 않는 것을 관측했고 원인은 단순했다. 두 클라이언트 모두 backchannelLogoutUrl 이 비어 있어 Keycloak 은 부를 주소를 몰랐고, BFF 소스에는 oidcLogout 설정이 없어 주소를 알려줘도 받을 곳이 없었다. Keycloak 파드에서 앱 URL 로 요청하면 200 이 돌아오므로 네트워크 문제도 아니다. 설정이 빠졌다와 기능이 없다는 다르게 고쳐야 하는데 여기는 둘 다였다.

Elements and evidence

  • 한 앱에서 로그아웃 (actor): Keycloak 세션이 끝난다. Evidence: L458L465.
  • backchannelLogoutUrl (component): 클라이언트 설정. 비어 있었다. Evidence: L458L466.
  • 앱의 수신 엔드포인트 (component): 소스에 없었다. Evidence: L458L466.
  • 다른 앱의 세션 (component): 그대로 남는다. Evidence: L458L466.

Relationships

  • backchannelLogoutUrl → 앱의 수신 엔드포인트: 호출 (주소 필요). Evidence: L458L466.
  • 앱의 수신 엔드포인트 → 다른 앱의 세션: 세션 삭제 (엔드포인트 필요). Evidence: L458L466.
  • 한 앱에서 로그아웃 → backchannelLogoutUrl: 통지 주소 조회. Evidence: L458L466.