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

In my experience those specific sets of constraints come sooner or later. Someone is going to ask for some complex auth or routing rules and it’s easier to just write it in go than it is to learn a whole new DSL or lua to implement it.


Complex Auth: https://doc.traefik.io/traefik/middlewares/http/forwardauth/

Complex routing rules: https://doc.traefik.io/traefik/routing/routers/

If you need something more than this, you're either in a very specific situation (where an API Gateway written from scratch might be a good idea) or that someone is doing something wrong


Why would I want to write another service to handle auth? That’s somehow less complex than just writing it into my gateway?


I sort of agree with you, but only if you aren’t in a position to say ‘the software doesn’t support it’.




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

Search: