Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
janci
· 6mo ago · 0 comments
path-based auth middleware is a bad practice IMHO
Comments
[–]
acdha
6mo ago
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.