This tool helps you complete the OAuth login flow for Claude Code (CLI) and the
Claude Code VS Code extension when running inside a GitHub Codespace,
where the normal localhost redirect cannot be reached from your browser.
Privacy note: This page is entirely client-side. Every URL and token you paste stays in your browser — nothing is sent to any server.
Using the CLI? Run this in your Codespace terminal to install Claude Code, then run
claude — it will print an authorization URL for you to copy.
curl -fsSL https://claude.ai/install.sh | bash
Using the VS Code extension? Open the Claude Code extension panel and click Sign in — it will also give you an authorization URL to copy.
Paste whichever authorization URL you received below:
Click the link below to open the Claude authorization page in a new tab. Complete the login there, then come back here.
After authorizing, your browser will try to redirect to a localhost URL that fails in Codespaces. Copy that failed URL from the address bar and paste it below.