Back to Settings

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.

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

Content

JSON
{
"description": "Restrict authentication to Claude.ai accounts only. This prevents users from log..."
"forceLoginMethod": "claudeai"
}

Stack Builder

0 components

Your stack is empty

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