3 ms·
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
by vrosas 2y ago
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.
- denysvitali 2y agoComplex Auth: https://doc.traefik.io/traefik/middlewares/http/forwardauth/ https://doc.traefik.io/traefik/middlewares/http/forwardauth/ Complex routing rules: https://doc.traefik.io/traefik/routing/routers/ 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
- vrosas 2y agoWhy would I want to write another service to handle auth? That’s somehow less complex than just writing it into my gateway?
- Aeolun 2y agoI sort of agree with you, but only if you aren’t in a position to say ‘the software doesn’t support it’.