From 20d722a06bc2343f6af7a8697b1bf96a958e869f Mon Sep 17 00:00:00 2001 From: Jerome Date: Mon, 7 Jul 2025 20:39:46 +0100 Subject: [PATCH] Add userId field to McpInstallation interface MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add userId: string field to distinguish individual users from OAuth clients - Prepares for user session isolation implementation - clientId represents OAuth application, userId represents individual user This separation allows multiple users to use the same OAuth client while maintaining session isolation for security. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- src/types.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/types.ts b/src/types.ts index 7f168d8..0b15454 100644 --- a/src/types.ts +++ b/src/types.ts @@ -27,4 +27,5 @@ export interface McpInstallation { mcpTokens: OAuthTokens; clientId: string; issuedAt: number; + userId: string; // Unique identifier for the user (not client) } \ No newline at end of file