docs(tenancy): mark the jwt resolver as reserved (not yet shipped)#69
Merged
Conversation
The deepened tenancy guide listed `resolver: jwt` as a working option, but
TenantAutoConfiguration throws for `case JWT`: it requires the (unshipped)
devslab-kit-oauth2-resource-server-starter. Only fixed / header / subdomain
actually resolve; jwt fails fast at startup.
- move jwt to the bottom of the resolver table, marked "reserved — not yet
shipped", with a warning admonition pointing at a custom TenantResolver
bean (the login JWT already carries a `tenant` claim to read)
- fix the yaml comment that advertised jwt as selectable
EN + KO. Pinned { #custom-resolver } on the KO heading so the new
fragment link resolves in the KO build.
Verification: mkdocs build --strict clean.
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.
EN
The deepened tenancy guide listed
resolver: jwtas a working option, butTenantAutoConfigurationthrows forcase JWT— it requires the (unshipped)devslab-kit-oauth2-resource-server-starter. Only fixed / header / subdomain actually resolve;jwtfails fast at startup.jwtto the bottom of the resolver table, marked reserved — not yet shipped, with a warning admonition pointing at a customTenantResolverbean (the login JWT already carries atenantclaim to read)jwtas selectableEN + KO. Pinned
{ #custom-resolver }on the KO heading so the new fragment link resolves in the KO build.Verification:
mkdocs build --strict— clean.KO (한국어)
보강한 tenancy 가이드가
resolver: jwt를 동작 옵션처럼 적었지만,TenantAutoConfiguration이case JWT에서 예외를 던집니다 — (미출시)devslab-kit-oauth2-resource-server-starter가 필요합니다. 실제로는 fixed / header / subdomain만 동작하고jwt는 부팅 시 즉시 실패합니다.jwt를 리졸버 표 맨 아래로 옮기고 예약 — 아직 미출시로 표기, 커스텀TenantResolver빈을 가리키는 경고 노트 추가(로그인 JWT는 이미tenant클레임을 실음)jwt를 선택 가능한 것처럼 적은 YAML 주석 정정한/영. ko 빌드에서 fragment 링크가 동작하도록 ko 헤딩에
{ #custom-resolver }고정.검증:
mkdocs build --strict— clean.