-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Revert "feat: add Claude Code channel support with OAuth integration" #1481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert "feat: add Claude Code channel support with OAuth integration" #1481
Conversation
WalkthroughThis change removes all support for the "Claude Code" channel type (type 53) and its OAuth integration from both backend and frontend. It deletes related constants, adaptors, OAuth controllers and services, token refresh logic, UI handling, and all special-case logic for Claude Code, reverting affected areas to generic channel/channel-type handling. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Web UI
participant Backend API
participant Claude Code OAuth Service
Note over User,Claude Code OAuth Service: Previous flow (now removed)
User->>Web UI: Click "Authorize Claude Code"
Web UI->>Backend API: Request OAuth URL
Backend API->>Claude Code OAuth Service: Generate OAuth URL
Claude Code OAuth Service-->>Backend API: Return URL
Backend API-->>Web UI: Send URL
Web UI-->>User: Show OAuth dialog
User->>Web UI: Enter authorization code
Web UI->>Backend API: Exchange code for token
Backend API->>Claude Code OAuth Service: Exchange code
Claude Code OAuth Service-->>Backend API: Return token
Backend API-->>Web UI: Token stored, channel updated
Note over User,Web UI: All above steps and UI removed
Estimated code review effort🎯 4 (Complex) | ⏱️ ~40 minutes Possibly related PRs
Poem
Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (17)
💤 Files with no reviewable changes (16)
🔇 Additional comments (3)
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Reverts #1445
Summary by CodeRabbit
New Features
Bug Fixes
Refactor
Chores
Documentation