Skip to content

Commit f007def

Browse files
brettheapclaude
andcommitted
fix: bind OAuth server to 0.0.0.0 for WSL2 compatibility
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 26de780 commit f007def

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/openai-codex-auth/src/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const OAUTH_CONFIG = {
1313
} as const
1414

1515
export const LOCAL_SERVER = {
16-
host: "127.0.0.1",
16+
host: "0.0.0.0", // Bind to all interfaces for WSL2 compatibility
1717
port: 1455,
1818
callbackPath: "/auth/callback",
1919
} as const

0 commit comments

Comments
 (0)