Skip to content

fix: standard APIs instead of custom code (x/oauth2, x/term, mime/multipart, HKDF, uuid, oauthex metadata), the MCP body limit, release.sh on Docker Hub's token route DevFo-OSS/17 - #11

Merged
srelon merged 3 commits into
mainfrom
standard-way
Dec 4, 2026

Conversation

@srelon

@srelon srelon commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

From the review for deviations from tools' CLIs and docs:

  • MCP: MaxRequestBodyBytes (413 above it), oauth.GrantOf on its own context key; OAuth metadata as oauthex types.
  • Google sign-in through golang.org/x/oauth2 (Exchange, PKCE, AuthStyleInHeader); terminal checks through golang.org/x/term.
  • Email built with mime/multipart (RFC 2231 attachment names); secret.Derive (HKDF-SHA256) for the unsubscribe and login-device keys.
  • Go 1.27 standard library: uuid, WaitGroup.Go, crypto/rand without error branches, cmp.Or, maps/slices, filepath.IsLocal, jsontext formatting; synctest in the background and session tests.
  • Web: Svelte's MediaQuery and prefersReducedMotion, autofocus on the login forms, Vite proxy without changeOrigin.
  • release.sh: Docker Hub's /v2/auth/token, release notes from the previous release without merges.

srelon and others added 3 commits December 3, 2026 23:36
…tipart, HKDF, uuid, oauthex metadata), the MCP body limit, release.sh on Docker Hub's token route DevFo-OSS/17
@srelon
srelon merged commit 0b81209 into main Dec 4, 2026
3 checks passed
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.

1 participant