Documentation
¶
Overview ¶
Example 01: OAuth 2.0 Client Credentials Flow.
Two-process architecture:
Terminal 1: make serve # auth server :8081, resource server :8082 Terminal 2: make demo # demokit walkthrough (--tui for the TUI)
The servers in --serve mode are real HTTP servers — any OAuth client (curl, your own app, MCP host, …) can hit them. The walkthrough is just one such client: it spins up the same servers in-process via httptest and drives them step-by-step. See walkthrough.go.
Run:
make demo # interactive walkthrough (default) make demo --tui # styled TUI walkthrough make serve # just run the servers, block make walkthrough # regenerate WALKTHROUGH.md
Click to show internal directories.
Click to hide internal directories.