feat: add Slack OAuth authentication flow#167
Merged
breaking-brake merged 6 commits intomainbreaking-brake/cc-wf-studio:mainfrom Nov 28, 2025
feature/slack-oauthbreaking-brake/cc-wf-studio:feature/slack-oauthCopy head branch name to clipboard
Merged
feat: add Slack OAuth authentication flow#167breaking-brake merged 6 commits intomainbreaking-brake/cc-wf-studio:mainfrom feature/slack-oauthbreaking-brake/cc-wf-studio:feature/slack-oauthCopy head branch name to clipboard
breaking-brake merged 6 commits intomainbreaking-brake/cc-wf-studio:mainfrom
feature/slack-oauthbreaking-brake/cc-wf-studio:feature/slack-oauthCopy head branch name to clipboard
Conversation
- Add SlackOAuthService for OAuth 2.0 flow management - Add /slack/init session pre-registration before auth - Support both 'completed' and 'success' poll status - Add tabbed UI (OAuth + Manual Token) in connection dialog - Add i18n translations for OAuth in 5 languages 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Update OAuth tab title and button text for clarity - Replace "Bot" with "Slack App" in error messages (all 5 languages) - Implement exponential backoff for OAuth polling (1s→5s max) - Generalize token deletion message for OAuth/manual tokens 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Pass oauthService instance to handleConnectSlackOAuth - Use same instance for polling and cancellation - Fixes issue where cancel button didn't stop OAuth polling 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Cancel polling when dialog is closed (click outside, ESC, etc.) - Cancel polling when Webview panel is disposed (tab closed) - Ensures polling doesn't continue in background after user leaves 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Allow closing dialog by clicking outside even during OAuth loading - Cancel OAuth polling before closing when backdrop is clicked 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Remove redundant review notice title, keep only message - Update OAuth tab title from "add" to "connect" - Clarify OAuth description text for better UX - Update review notice message wording - Apply changes across all 5 languages 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Merged
Contributor
|
🎉 This PR is included in version 2.15.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This was referenced Nov 29, 2025
Closed
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add Slack OAuth authentication flow, allowing users to connect to Slack workspaces via OAuth instead of manually entering Bot Tokens.
Features
Core Functionality
Cancellation Handling
Internationalization
Files Changed
src/extension/services/slack-oauth-service.tssrc/extension/commands/slack-connect-oauth.tssrc/extension/commands/open-editor.tssrc/webview/src/components/dialogs/SlackManualTokenDialog.tsxsrc/webview/src/services/slack-integration-service.tssrc/shared/types/messages.tssrc/webview/src/i18n/translations/*.tsTesting
🤖 Generated with Claude Code