feat: implement comprehensive duplicate provider connection handling#112
Open
toanalien wants to merge 1 commit intodecolua:masterfrom
Open
feat: implement comprehensive duplicate provider connection handling#112toanalien wants to merge 1 commit intodecolua:masterfrom
toanalien wants to merge 1 commit intodecolua:masterfrom
Conversation
Contributor
toanalien
commented
Feb 12, 2026
- Add duplicate detection utilities with secure API key hashing (SHA-256)
- Implement OAuth duplicate detection by email/user ID/project ID
- Implement API key duplicate detection by hashed key comparison
- Add DuplicateWarningModal component with Replace/Keep Both/Cancel options
- Add visual duplicate badge indicators with warning variant
- Add POST /api/providers/check-duplicate endpoint for pre-check
- Update POST /api/providers to return 409 Conflict on duplicates
- Auto-update OAuth connections when duplicates detected in callback
- Add comprehensive documentation in docs/DUPLICATE_HANDLING.md
- Support provider-specific duplicate detection (GitHub, Antigravity, Cursor, etc.)
- Preserve priority and settings when replacing duplicates
- Allow keeping both connections as fallback with lower priority
- Add duplicate detection utilities with secure API key hashing (SHA-256) - Implement OAuth duplicate detection by email/user ID/project ID - Implement API key duplicate detection by hashed key comparison - Add DuplicateWarningModal component with Replace/Keep Both/Cancel options - Add visual duplicate badge indicators with warning variant - Add POST /api/providers/check-duplicate endpoint for pre-check - Update POST /api/providers to return 409 Conflict on duplicates - Auto-update OAuth connections when duplicates detected in callback - Add comprehensive documentation in docs/DUPLICATE_HANDLING.md - Support provider-specific duplicate detection (GitHub, Antigravity, Cursor, etc.) - Preserve priority and settings when replacing duplicates - Allow keeping both connections as fallback with lower priority
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.