firecow / caddy-forward-auth

Forward auth middleware for caddyserver

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

caddy-forward-auth

!!!!! DISCONTINUED !!!!! This is now possible directly in Caddy 2.5.1

:80

route {
    forward_auth https://sso.firecow.dk {
	    header_up Host {upstream_hostport}
	    uri /auth
	    copy_headers Remote-User Authorization
    }    
    reverse_proxy http://webserver:8080
}

Forward auth middleware for caddyserver

Rougly based on https://doc.traefik.io/traefik/middlewares/http/forwardauth/

quality License Renovate Release

Quality Gate Status Code Smells

:80

route * {
    forward_auth https://sso.example.com/auth
    reverse_proxy http://webserver:3000
}

About

Forward auth middleware for caddyserver

License:MIT License


Languages

Language:Go 97.4%Language:Shell 2.6%