Hacker News new | ask | show | jobs
by qbasic_forever 1512 days ago
Awesome! Generic subrequest auth would be a super handy feature native to caddy.
1 comments

Yep! We have it working here: https://github.com/caddyserver/caddy/pull/4739

It's a generic setup where you can do _anything_ you want via firing off an HTTP request as a clone of the original, and re-handling the request after getting back the response.

Big shoutout to the Authelia team for helping out with testing and confirming that it works. Will be merged very soon (today?) and some follow-up work is coming to make the config for it even shorter (some sugar for the common forward_auth usecase).

Wow slick, that looks great!