Skip to content

feat(auth): support account-scoped identity gates - #59

Merged
ditto-m[bot] merged 1 commit into
mainfrom
codex/scoped-auth-gate
Oct 26, 2026
Merged

ditto-m[bot] merged 1 commit into
mainfrom
codex/scoped-auth-gate

Conversation

@ditto-m

@ditto-m ditto-m Bot commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

Problem

  • AuthGate always performs its default identity lookup, preventing applications from selecting an authenticated account explicitly.

Approach

  • Accept identity options and an error fallback; distinguish failed lookups from explicit anonymous results while preserving default consumers.
  • Release 0.50.0 with a keyed account-switch example and scoped UserMenu composition instead of an application-local gate.

Review notes

  • Late previous-account responses remain outside the selected account subtree; tests cover the request boundary and enabled-redirect error behavior.

Agent: OpenAI Codex; host: eevee; session: 01a17321-a2a4-7830-b99d-a14d1ecd7f0e; model: gpt-6.1-sol

@ditto-m
ditto-m Bot marked this pull request as ready for review October 26, 2026 00:27
@ditto-m
ditto-m Bot merged commit 016e577 into main Oct 26, 2026
2 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.

0 participants