Skip to content

feat(oauth): Add support for copy/paste authentication - #187

Open
notmgn wants to merge 1 commit into
KarpelesLab:masterfrom
notmgn:feat/oauth-copy-paste-login
Open

feat(oauth): Add support for copy/paste authentication#187
notmgn wants to merge 1 commit into
KarpelesLab:masterfrom
notmgn:feat/oauth-copy-paste-login

Conversation

@notmgn

@notmgn notmgn commented Aug 24, 2026

Copy link
Copy Markdown

Current login authentication flow spins up a local callback server, which only works if the browser and teamclaude are on the same box. On a remote server or in a container that's a dead end you end up logging in elsewhere and copying the credentials file over by hand.

This adds login --token: prints the auth URL, you log in from whatever browser you have, paste the code back. No listener, no localhost.

Along the way the token exchange and code parsing got pulled out into shared helpers, so the browser flow's existing paste fallback now handles the code#state format too.

Enables headless/remote OAuth login via manual code pasting.
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