Skip to content

Add optional global authentication#72

Open
zR-JB wants to merge 12 commits into
mainfrom
feat/optional-auth
Open

Add optional global authentication#72
zR-JB wants to merge 12 commits into
mainfrom
feat/optional-auth

Conversation

@zR-JB

@zR-JB zR-JB commented Jul 22, 2026

Copy link
Copy Markdown
Owner

Summary

  • add opt-in password, OIDC, and hybrid authentication across every listener
  • add bounded memory-only sessions, CSRF/origin enforcement, cancellation, and browser approval for native-client bearer grants
  • add a generated no-JavaScript login surface sourced from client/src/auth, plus a loopback preview command
  • add authenticated browser teardown, account controls, and native TUI authorization
  • document only the required configuration and reverse-proxy settings

Why

Public deployments currently allow unauthenticated callers to invoke measurement-scale workloads. This adds one Go-owned security boundary while preserving existing behavior when authentication is disabled.

Verification

  • full race-enabled Go suite
  • Go vet, module verification, CGO-free builds, and formatting
  • 271 client unit tests, Svelte/TypeScript checks, formatting, and production build
  • Chromium and Firefox Playwright suite
  • password and OIDC parser fuzzing
  • real H1, H2, H3, and WebSocket rejection tests
  • production container build and smoke check
  • repeated parallel adversarial reviews

The PR remains a draft while the latest GitHub checks complete.

@zR-JB
zR-JB marked this pull request as ready for review July 22, 2026 19:53

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 620a05f710

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread go/internal/goclient/auth.go Outdated
Repository owner deleted a comment from chatgpt-codex-connector Bot Jul 22, 2026
Repository owner deleted a comment from chatgpt-codex-connector Bot Jul 22, 2026
Repository owner deleted a comment from chatgpt-codex-connector Bot Jul 22, 2026
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