Skip to content

Commit

Permalink
Embed proxy-auth demo
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-dp committed Dec 19, 2024
1 parent 4401ec3 commit 3e7a0fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions website/demos/proxy-auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ order: 40

## Proxy auth with Electric

<DemoEmbed :demo="$frontmatter" />

This example demonstrates authorizing access to the Electric HTTP API using a proxy. It implements the [proxy-auth](/docs/guides/auth#proxy-auth) pattern described in the [Auth](/docs/guides/auth) guide.

The main proxy code is in [`./app/shape-proxy/route.ts`](https://github.com/electric-sql/electric/blob/main/examples/proxy-auth/app/shape-proxy/route.ts):
Expand Down

0 comments on commit 3e7a0fb

Please sign in to comment.