/design-login — Standalone Design-System Authorization#
What's wrong with this entry?
A new slash command that authorizes design-system (claude.ai/design) access independently of the main session login. This is especially useful when Claude Code authenticates via an API key or provider token rather than a claude.ai subscription.
/design-login- Opens a browser OAuth consent page specific to design-system scopes (
user:design:read,user:design:write) - On SSH or remote sessions (where a browser can't reach the local listener), the flow falls back to a manual code-paste method
- The credential is stored as a separate
designOauthentry in settings, entirely separate from the main session token — signing out of claude.ai does not invalidate the design credential - The credential auto-refreshes; if a refresh fails the command re-prompts
- Requires
CLAUDE_CODE_DESIGN_OAUTH_CLIENT_IDto be set (or a build that includes the registered client id) - A 5-minute browser-authorization timeout applies; after that, the manual
/design-loginflow is suggested
Design OAuth lock and flow (search for "Design login", ".design_oauth_refresh.lock", "design login — approving opens a browser OAuth consent")
Strings lifted out of the shipped bundle, so the claim above can be checked against them.