Skip to content

Runnable recipe

Recipe 11: Delegated access with user consent

A signed-in user chooses an agent, scopes, and lifetime. The server returns a short-lived token once; expiry and revocation fail before any business handler.

Standalone page · interactiveOpen standalone
Runpnpm dev:examplesSource examples/demos/recipe-delegation/Server/bridge examples/recipe-backends/access-service/Page https://plingjs.dev/demos/recipe-delegation/
The page below runs the same business code and local services.