logoalt Hacker News

jancitoday at 10:02 AM1 replyview on HN

path-based auth middleware is a bad practice IMHO


Replies

acdhatoday at 11:10 AM

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.