Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

path-based auth middleware is a bad practice IMHO


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: