News for hackers. Stuff that matters.
Re:Show HN: Caddy 2 by rcarmo on Monday May 04, 2020 @05:18PM (#23073395)
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?

Re:Show HN: Caddy 2 by francislavoie on Monday May 04, 2020 @06:08PM (#23073939)
Yep! 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

A user has been working on an OAuth2 plugin recently: https://caddy.community/t/caddy2-redirect-from-within-caddya...

Re:Show HN: Caddy 2 by scobiehague on Tuesday May 05, 2020 @01:53PM (#23082738)
Is the JWT plugin usable yet? There are no instructions.
Re:Show HN: Caddy 2 by francislavoie on Tuesday May 05, 2020 @03:31PM (#23083898)
I 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! :)
Re:Show HN: Caddy 2 by scobiehague on Tuesday May 05, 2020 @04:20PM (#23084526)
Thanks for asking. It's the only thing keeping me from switching over really.
Re:Show HN: Caddy 2 by francislavoie on Wednesday May 06, 2020 @10:07AM (#23091079)
FYI 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