#How do I reset Anthropic OAuth

1 messages · Page 1 of 1 (latest)

modest ember
#

@hazy moat How do I reset Anthropic OAuth? pnpm clawdbot onboard would force me to go through other settings which I have already set and don't want to change

hazy moatBOT
# modest ember <@1457407575476801641> How do I reset Anthropic OAuth? pnpm clawdbot onboard wou...

To reset just Anthropic OAuth without re-running full onboarding:

  1. Edit your config file: ~/.clawdbot/clawdbot.json — remove or clear the anthropic provider section (look for providers.anthropic or similar key with your API key/token)

  2. Reconfigure just Anthropic: Try clawdbot configure anthropic — this should prompt only for Anthropic settings without touching others

If configure doesn't support provider-specific flags, you'll need to manually edit the config, delete the Anthropic section, restart the gateway, then run configure again.

Docs reference: https://docs.clawd.bot/gateway/configuration

modest ember
#

I got "> tsx src/entry.ts configure anthropic

error: too many arguments for 'configure'. Expected 0 arguments but got 1.
 ELIFECYCLE  Command failed with exit code 1."

hazy moatBOT
# modest ember I got "> tsx src/entry.ts configure anthropic error: too many arguments for 'co...

The configure command is interactive-only (no args). You'll need to manually edit the config:

  1. Open config: nano ~/.clawdbot/clawdbot.json

  2. Find and remove/edit the Anthropic section — look for:

    "anthropic": {
      "apiKey": "your-key-here"
    }
    
  3. Save and restart gateway: clawdbot gateway restart

  4. Re-run onboarding just for Anthropic: pnpm clawdbot onboard (select Anthropic when prompted)

If you want to be surgical, you can just delete the apiKey value inside the anthropic object instead of removing the whole section.