Claude Auth (CLI) icon

Claude Auth (CLI)

Browser login and status for Claude CLI (no API keys)

Authentication → Browser Login (Single Node)

AI-generated

Summary

Generate a Claude OAuth authorization URL and persist a login session, prompting the user to authorize in a browser before completing with Browser Login (Complete).

Inputs

  • loginConfigDir — Directory used for Claude OAuth tokens and login sessions; overrides the credentials config dir if provided.
  • useTempConfigDir — Whether to create a temporary config directory to force a fresh login session.
  • loginWithClaudeAi — Whether to use claude.ai for login instead of console.anthropic.com.

Output shape

main

Returns login metadata for the workflow builder to present the URL to the user.

Examples

Example 1: Start Claude OAuth login flow with temp config and claude.ai domain

loginConfigDir: '', useTempConfigDir: true, loginWithClaudeAi: true

Links

Discussion