## Connect to your bridge

This demo shows how to build a private app against your own Patchwork OS bridge running in OAuth mode (`--issuer-url`). It authenticates with PKCE, then calls the bridge API to list recipes, run one, and respond to approval prompts — all from a plain web page.

1
Bridge URL (must be HTTPS on a remote host, or http://localhost for local testing)
2

Start your bridge with OAuth mode enabled:

claude-ide-bridge --full --issuer-url https://bridge.example.com --cors-origin <this-page-origin>
3
Sign in with OAuth PKCE

## Session

—

Bearer token issued by the bridge OAuth server. Valid 24 h. Use it in `Authorization: Bearer <token>` headers to call any bridge API endpoint.

## Installed recipes

Loading…

## Run a recipe

Recipe name (from list above)

## Pending approvals

Waiting for your approval before tools execute
Loading…

## Raw API explorer

Send any authenticated request to the bridge API. The Bearer token is injected automatically.

Method
Path (relative to bridge URL)
Body (JSON, optional for POST/PATCH)