2 ms·
Looks great. I have fond memories of Caddy 1.x, but I keep looking for a reverse proxy that can do social auth to protect selected endpoints (I was betting on T
by rcarmo 7y ago
Looks great. I have fond memories of Caddy 1.x, but I keep looking for a reverse proxy that can do social auth to protect selected endpoints (I was betting on Traefik having an easy to setup extension for that, but 2.x has been a challenge in other ways...).
Anyone know if Caddy 2 has any such extension beyond the basic auth provider I see in the docs?
- francislavoie 7y agoYep! greenpau has been doing a ton of work on authentication modules recently. See here for a list of some of the plugins we have available so far for Caddy v2: https://caddy.community/t/list-of-caddy-2-modules/7839 https://caddy.community/t/list-of-caddy-2-modules/7839 A user has been working on an OAuth2 plugin recently: https://caddy.community/t/caddy2-redirect-from-within-caddyauth-authenticator/7804 https://caddy.community/t/caddy2-redirect-from-within-caddya...
- scobiehague 7y agoIs the JWT plugin usable yet? There are no instructions.
- francislavoie 7y agoI just contacted the maintainer and he let me know it should be ready to use in the coming days. Check back in a few days! :)
- scobiehague 7y agoThanks for asking. It's the only thing keeping me from switching over really.
- francislavoie 7y agoFYI the docs are now up if you want to try it out and give feedback (open issues on github) https://github.com/greenpau/caddy-auth-jwt#overview https://github.com/greenpau/caddy-auth-jwt#overview