Ask a question to get started
Enter to send•Shift+Enter new line
CliOAuthInteraction()
Print the full authorize instruction block to stdout.
Uses browser-opened wording when opened_in_browser is True; otherwise instructs the user to open the URL and paste back the callback.
opened_in_browser
True
Read a trimmed callback URL from stdin via a worker thread.
Print RFC 8628 device-code instructions to stdout.
Ask for a Slack team ID via input() on a worker thread.
input()
Print success message to stdout.
Print progress notice to stdout.
Print error message to stderr.
Default OAuthInteraction that drives the flow via stdin/stdout.
OAuthInteraction
Preserves the previous dcode mcp login behavior — paste-back input, plain-text prompts, success messages printed to stdout.
dcode mcp login