Skip to main content
The stub gateway is the real self-hosted gateway with stand-in plans behind it. Nothing reaches a provider and nothing is paid for, so you don’t need a fake Dari.
The Node tab runs the gateway inside a Bun test. Any other runner starts it as a process, as the Python and Go tabs do (npm install -D @mupt-ai/dari-gateway; Bun runs it): it prints one JSON line with app and a controlUrl, and POST <controlUrl>/connect answers {"code", "code_verifier", "state"}.

What You Can Set Up

What The User Does

The process form takes the same options as JSON on POST <controlUrl>/connect: credential_ids, grant_id, deny.

Force An Error