Force Claudeai Login
Settings authentication 146
Restrict authentication to Claude.ai accounts only. This prevents users from logging in with Anthropic Console accounts, ensuring all access goes through the Claude.ai platform for consistent user experience and billing.
npx claude-code-templates@latest --setting authentication/force-claudeai-login claude-code — force-claudeai-login
Content
JSON
{
"description": "Restrict authentication to Claude.ai accounts only. This prevents users from log..."
"forceLoginMethod": "claudeai"
}