Skip to content

feat/cli: add cli command for oauth and update oauth module#344

Open
FFengIll wants to merge 4 commits intomainfrom
command/oauth
Open

feat/cli: add cli command for oauth and update oauth module#344
FFengIll wants to merge 4 commits intomainfrom
command/oauth

Conversation

@FFengIll
Copy link
Contributor

No description provided.

FFengIll and others added 4 commits February 12, 2026 18:40
Add oauth command with add and list subcommands for completing OAuth
authentication locally. Supports qwen_code, codex, claude_code, and
antigravity providers.

- Add PKCE flow for claude_code, codex, antigravity
- Add device code flow for qwen_code
- Automatic browser opening for auth URL
- Callback server with port 1455 enforcement for codex
- JSONL output after successful OAuth for export/import
- Proxy support via --proxy flag
- Comprehensive unit tests

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add pluggable storage interfaces for tokens, states, and sessions.
Users can now provide custom storage implementations while
the default in-memory storage remains for demonstration.

- Add StateStorage interface and MemoryStateStorage
- Add SessionStorage interface and MemorySessionStorage
- Remove ListProviders from TokenStorage interface
- Update Manager to use pluggable storage interfaces
- Update Config to support all three storage types
- Add comprehensive tests for new storage interfaces
- Update oauth/example to demonstrate new storage pattern

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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

Comments