Back to Settings

Force Console Login

Settings authentication 69

Restrict authentication to Anthropic Console accounts only. This ensures all usage is billed through the API billing system and prevents access via Claude.ai accounts, ideal for enterprise environments with centralized billing.

Install Command
npx claude-code-templates@latest --setting authentication/force-console-login
View on GitHub
claude-code — force-console-login

Content

JSON
{
"description": "Restrict authentication to Anthropic Console accounts only. This ensures all usa..."
"forceLoginMethod": "console"
}

Stack Builder

0 components

Your stack is empty

Browse components and click the + button to add them to your stack for easy installation.