Skip to content

feat(oauth): support manual pasted callback URL for remote PKCE#129

Open
joeblack2k wants to merge 2 commits intoSoju06:mainfrom
joeblack2k:codex/oauth-manual-callback-paste
Open

feat(oauth): support manual pasted callback URL for remote PKCE#129
joeblack2k wants to merge 2 commits intoSoju06:mainfrom
joeblack2k:codex/oauth-manual-callback-paste

Conversation

@joeblack2k
Copy link
Contributor

Summary\n- add optional callback_url to OAuth complete payload\n- support finishing Browser PKCE flow by pasting callback URL from remote client\n- keep existing local callback server flow intact\n\n## Why\nWhen dashboard is used remotely, browser sign-in often redirects to http://127.0.0.1:1455/auth/callback?... on the user machine. That callback cannot reach the server-side listener. This adds a manual paste path like OpenClaw onboarding.\n\n## Changes\n- backend: parse callback URL (code/state) and complete token exchange server-side\n- frontend: input + button in OAuth dialog (browser stage)\n- tests: integration + frontend component tests for manual callback path\n\n## Validation\n- uv run pytest tests/integration/test_oauth_flow.py -q (pass)\n- canary runtime updated and healthy\n

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.

1 participant