Skip to content

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

Merged
steipete merged 5 commits intoopenclaw:mainfrom
spookyuser:fix/oauth-port
Feb 14, 2026
Merged

fix(auth): use non-privileged port for manual OAuth redirect#172
steipete merged 5 commits intoopenclaw:mainfrom
spookyuser:fix/oauth-port

Conversation

@spookyuser
Copy link
Copy Markdown
Contributor

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

claude and others added 5 commits February 3, 2026 17:08
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
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
@steipete steipete merged commit 0e1f77d into openclaw:main Feb 14, 2026
1 check passed
klodr pushed a commit to klodr/gogcli that referenced this pull request Apr 22, 2026
…w#172)

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

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

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

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

* fix(auth): tighten manual oauth formatting

* docs(changelog): thank @spookyuser for openclaw#172

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Peter Steinberger <steipete@gmail.com>
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.

3 participants