feat: MCP OAuth flow improvements (#123)

Rewrite OAuth flow handle authentication entirely in web app with secure proxy
- Add MCP OAuth proxy with origin validation and callback handling
- Remove auto OAuth method from authentication flow
- Fix TypeScript build errors
- Add directory support for MCP OAuth flows and improve config manager UI
- Reload session caches after MCP connection changes
This commit is contained in:
Chris Scott authored and GitHub committed 2026-02-13 00:10:56 -05:00
1 parent 7824d52fb8
commit 3f9c398b31
31 files changed
+1054 -483

No files matched your search

@@ -70,7 +70,7 @@ export function OpenCodeConfigEditor({
return (
<Dialog open={isOpen} onOpenChange={(open) => !open && onClose()}>
<DialogContent mobileFullscreen className="gap-0 flex flex-col p-0 md:p-6 w-full min-w-0 sm:max-w-4xl max-h-[90vh] sm:max-h-[85vh] z-[200]" overlayClassName="z-[200]">
<DialogContent mobileFullscreen className="gap-0 flex flex-col p-0 md:p-6 w-full min-w-0 sm:max-w-4xl max-h-[90vh] sm:max-h-[85vh]">
<DialogHeader className="p-4 sm:p-6 border-b flex flex-row items-center justify-between space-y-0">
<DialogTitle className="text-lg sm:text-xl font-semibold">
{`Edit Config: ${config.name}`}