FYI: Caddy Forward Auth plugin created

This is just a FYI in-case, anyone has inputs or wanna contribute in any other way.

I’ve started work on GitHub - firecow/caddy-forward-auth: Forward auth middleware for caddyserver, its based on traefiks forward auth “module”

Yours
Mads

3 Likes

Don’t forget to make an account on Download Caddy to add it to the download page! Best way to give visibility to your plugin.

Another quick comment, I recommend pulling out your resty.New() call to Provision(), since you don’t need to do that on every request. It can just do it once at startup and reuse that resty client on each request. Just a small optimization.

1 Like

Done, that was easy
image

Thanks alot @francislavoie

3 Likes

This topic was automatically closed after 30 days. New replies are no longer allowed.