Skip to content

fix(auth): use non-privileged port for manual OAuth redirect#172

Open
spookyuser wants to merge 1 commit intosteipete:mainfrom
spookyuser:fix/oauth-port
Open

fix(auth): use non-privileged port for manual OAuth redirect#172
spookyuser wants to merge 1 commit intosteipete:mainfrom
spookyuser:fix/oauth-port

Conversation

@spookyuser
Copy link

Was having this issue where when I did --manual I could see the response code in the console but the page would not redirect, this changes the manual auth flow redirect URI from http://localhost:1 to http://127.0.0.1:9004. which works

Change the manual auth flow redirect URI from http://localhost:1 to
http://127.0.0.1:9004. Port 1 is a privileged port that browsers may
block or handle differently, causing the redirect to fail. Using port
9004 (non-privileged) ensures the browser will properly attempt the
navigation and display the redirect URL in the address bar.

https://claude.ai/code/session_01Huxgf7YcpWvp6MzZGLyjcP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants