Designing Recoverable Reader Sessions After OAuth Callbacks Without Leaking Credentials
The article examines how telemetry costs for OAuth authorization, callback exchange, and application sessions scale with event volume, event size, and retention, using a hypothetical workload for illustration. It argues that recovery for publication readers should depend on verified account ownership and an established secondary authentication path rather than on log archives. The author recommends keeping the internal account association in authoritative storage and identifying external principals by validated issuer and subject rather than email. To control metric cardinality, reader identifiers should stay out of metric labels, with compact, access-controlled recovery records used where investigations require them. Finally, the piece advises recording only outcomes of recovery attempts, such as the path used and whether ownership verification succeeded, while excluding authorization codes, tokens, and cookies.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in