Skip to content

docs: add headless login (device flow) guide - #291

Merged
shigechika merged 1 commit into
mainfrom
docs/device-flow-guide
Jul 5, 2026
Merged

shigechika merged 1 commit into
mainfrom
docs/device-flow-guide

Conversation

@shigechika

Copy link
Copy Markdown
Owner

Summary

  • Adds the one remaining guide item from docs: user-facing documentation site on GitHub Pages #284's proposal: a dedicated walkthrough for --oauth-device (RFC 8628 Device Authorization Grant), covering the stderr prompt, the --oauth-timeout confirmation window (default 120s, independent of the server-advertised device-code lifetime), and the exact timeout/denial error messages.
  • Adds docs/guides/device-flow.md + .ja.md, wires into mkdocs.yml nav under Guides.
  • Cross-links from connect-remote.md's Variations table (previously a one-line mention) and troubleshooting.md's SSH section.

All wording verified against the actual _run_device_authorization_flow implementation and CLI help text in src/mcp_stdio/oauth.py / cli.py (error strings, --oauth-timeout clamping behavior, default 120s).

Closes #284

Test plan

  • mkdocs build --strict passes (no broken links/anchors)
  • Cross-reference anchors (reference.md#oauth-21-openid-connect) verified against built HTML output

Adds the guide item from #284's proposal that was left for a follow-up
PR: a dedicated walkthrough for --oauth-device, including the
--oauth-timeout confirmation window and what happens on timeout/denial.
Cross-links from connect-remote's Variations table and the
troubleshooting SSH section, which previously only had a one-line
mention.

Closes #284
@shigechika
shigechika merged commit 76e6d3a into main Jul 5, 2026
8 checks passed
@shigechika
shigechika deleted the docs/device-flow-guide branch July 5, 2026 05:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: user-facing documentation site on GitHub Pages

1 participant