diff --git a/src/examples/client/simpleOAuthClient.ts b/src/examples/client/simpleOAuthClient.ts index 8d3759c1..4531f4c2 100644 --- a/src/examples/client/simpleOAuthClient.ts +++ b/src/examples/client/simpleOAuthClient.ts @@ -108,11 +108,7 @@ class InteractiveOAuthClient { private async openBrowser(url: string): Promise { console.log(`🌐 Opening browser for authorization: ${url}`); - // Use platform-specific commands to open browser - const platform = process.platform; - let command: string; - - command = `open "${url}"`; + const command = `open "${url}"`; exec(command, (error) => { if (error) {