Skip to content

docs(oauth2,repo): correct the modules table and document server storage - #36

Merged
ExorTek merged 2 commits into
masterfrom
docs/repo-audit-followups
Aug 6, 2026
Merged

docs(oauth2,repo): correct the modules table and document server storage#36
ExorTek merged 2 commits into
masterfrom
docs/repo-audit-followups

Conversation

@ExorTek

@ExorTek ExorTek commented Aug 6, 2026

Copy link
Copy Markdown
Owner

Independent.

The consequential part: the oauth2 README never mentioned storage, so a reader following it deploys an authorization server on in-memory stores and finds out on the second instance — a code issued on one node cannot be redeemed on another. Adds a storage section covering the Redis-backed stores, which clients they work with, and why memory is not a default to run behind a load balancer.

Corrections:

  • The modules table named mountOAuthLogin as the fastify export. That function is Express-only; the fastify subpath exports oauthLogin and oauthLoginPlugin. The row was a copy of the express one — the prose above the table was already right.
  • The ./server row listed three exports and omitted the rest, including oauth2Handlers, the client registry helpers, and every Redis store.
  • CLAUDE.md said "22-package stack"; every other doc says 20.
  • The redis-helpers header claimed the module is not consumed outside @exortek/shared — oauth2, opaque and session all import it directly.

README.md is in the published files list, so this changes the tarball and carries a patch changeset.

ExorTek added 2 commits August 6, 2026 11:52
The oauth2 modules table named `mountOAuthLogin` as the fastify export; that
function does not exist there — the subpath exports `oauthLogin` and
`oauthLoginPlugin`, as the prose above the table already showed. The row was a
copy of the express one. The `./server` row listed three of its exports and
omitted the rest, including every Redis store.

More consequential: the README never mentioned storage at all, so a reader
following it deploys an authorization server on in-memory stores and finds out
the hard way on the second instance. Adds a storage section that says which
stores exist, which clients are supported, and why memory is not a default you
can ship behind a load balancer.

Also drops the stale "22-package stack" line in CLAUDE.md, which every other
doc puts at 20, and corrects the redis-helpers header that claimed the module
is not consumed outside `@exortek/shared` — oauth2, opaque and session all
import it directly.
README.md is in the published files list, so these corrections change the
tarball and need a version bump to reach anyone.
Copilot AI lite review requested due to automatic review settings August 6, 2026 09:11

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@ExorTek
ExorTek merged commit 4162651 into master Aug 6, 2026
3 checks passed
@ExorTek
ExorTek deleted the docs/repo-audit-followups branch August 6, 2026 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants