Blog Posts
Why ProxyAuth exists its creator just wanted a simple HTML page with authentication. No complicated application changes. No extra authentication system to build. Just protect the page — ProxyAuth handles the rest.
Begin Post — 12 posts
Advanced Post — 15 posts
- Session rotation
- Refresh tokens for APIs
- Understand tokens build
- Sync group crypto
- Redis revocation sync
- OIDC provider, complete
- redirect_protect, complete
- Wildcard vhosts
- Streaming & backend timeout
- Hop-by-hop headers & smuggling
- IP abuse blocklists
- SameSite & session exposure
- ProxyAuth × BeyondCorp
- Test code
- Futur evolution blakegate
Published 27 articles
Refresh tokens: two tokens, one id, and a trap for whoever copies one
An API client cannot be handed a cookie, so it holds its credential for as long as the credential lasts. ProxyAuth now issues a short-lived access token and a long-lived refresh token that share one token id — which is what makes revocation simple, and what turns a replayed token into evidence of a copy.
Rotating a session without logging anyone out
A session token that never changes is a token an attacker can keep. One that expires quickly is a login page in the middle of someone's work. Session renewal takes the third option — replace the token while it is being used — and the interesting part is what happens to the token it replaced.
Headers ProxyAuth never relays: hop-by-hop stripping, request smuggling and the WebSocket consequence
Ten headers are removed from every request and every response, with no setting to change it. That rule is what closes HTTP request smuggling through ProxyAuth — and it is also why WebSocket upgrades do not pass through. Here is the full list, the reasoning, the one exception, and the identity headers stripped for a different reason.
log vs logging: how ProxyAuth separates where lines go from what an access line says
Two config keys that look alike and do different jobs. log picks the transport for every line — local file, Grafana Loki, HTTP sink, or nothing. logging shapes the per-request access line and decides which requests get one. Plus the stats socket, and how to make Loki queries structured instead of regex.
proxyauth quickstart: a guided setup that shows you the configuration it writes
Three interactive commands cover what people configure most — a vhost and its routes, an account, and who may sign in on a vhost. None of them writes anything before showing the exact block and getting a yes, every write is backed up and validated, and each run ends by printing what it added so you can write the next one by hand.
SameSite=Lax vs SameSite=Strict: where ProxyAuth can reduce authentication exposure
SameSite is one attribute among several that decide how exposed a session is. This post explains Lax and Strict precisely, shows the exact cookie ProxyAuth sets and why Strict is affordable at a gateway, and lists the other controls — CSRF, revocation on logout, identity headers, cookie lifetime — that make the difference in practice.