Hacker News new | ask | show | jobs
by janci 16 days ago
path-based auth middleware is a bad practice IMHO
1 comments

I think there’s a solid argument for global auth middleware, where this is a problem if you use the path for exceptions like health-checks or a login endpoint.