Standalone Lit demo — sem-note
One self-contained file: the Lit 3 web component is compiled into this page
(no CDN, no server, no build at view time). Open via file:// — double-click —
and the custom element upgrades and behaves.
This note is upgraded by
SemNote (Lit 3):
check its data-sem-upgraded attribute and role="note".Lit renders the collapsed-state summary and expands
on click — the component owns the behavior, the light DOM keeps the text
searchable and copyable.
Facts — flashcards (Lit)
JWTs rotate per session
Short-lived access tokens; the refresh grant issues a new pair.
OAuth device flow targets input-constrained devices
TVs, consoles, CLI tools — poll the token endpoint with the device code.
Facts — quiz (Lit)
The OIDC token travels in which header?
Authorization
Cookie
X-Auth-Token
PKCE protects which flow?
Authorization code flow
Client credentials flow
Details — highlight occlusion (Lit)
The OIDC token travels in the Authorization header,
and refresh tokens should never reach the browser.
Plain view keeps highlights readable inline — no occlusion without data-view-as="quiz".