auth
agentgraph auth inspects, authenticates, and removes credential-backed connector platforms. Slack uses user OAuth PKCE by default with an explicit browser-session fallback.
#Synopsis
agentgraph auth [status] [--verify] [--json]
agentgraph auth PLATFORM [--account ACCOUNT_ID] [--add] [PROVIDER_OPTIONS]
agentgraph auth slack [--method oauth|browser] [--client-id CLIENT_ID] [--xoxc-token TOKEN] [--d-cookie VALUE]
agentgraph auth remove PLATFORM [--account ACCOUNT_ID] [--json]
#Notes
PLATFORMis the auth label, such asgoogle,slack, ordiscord- omit
PLATFORM, or passstatus, to list provider and account authentication state;
use --verify only for a live provider credential check
- Google uses AgentGraph's packaged Desktop OAuth client
- Slack prompts between user OAuth with PKCE and browser-session credentials when
--methodis omitted - OAuth asks whether you administer the target workspace; non-admins can enter an admin-provided Client ID or follow the app-request flow
--client-idsupplies an admin-provided Client ID and implies OAuth when--methodis omitted--method oauthselects OAuth without the chooser; browser credential options imply--method browser--xoxc-tokenand--d-cookieare rejected with explicit--method oauth- status account rows include
auth_method agentgraph auth remove PLATFORMremoves stored credentials for that provider; it does not delete indexed graph data--accountselects an existing account to re-authenticate, or removes one stored
account with auth remove
- RSS and generic web are not authentication providers; configure RSS with
agentgraph connector rss add
#Examples
agentgraph auth status --verify --json
agentgraph auth google
agentgraph auth slack
agentgraph auth slack --add --client-id "$SLACK_CLIENT_ID"
agentgraph auth slack --method browser --xoxc-token "$XOXC" --d-cookie "$D_COOKIE"
agentgraph auth remove slack
agentgraph auth remove google --account user@example.com --json
agentgraph connector rss add https://example.com/feed.xml