Hacker News new | ask | show | jobs
by dingnuts 622 days ago
this is such a wild take to me. why on earth are there complicated routing rules happening at the API gateway at all?

In MY real world experience, the API gateway does some sort of very simple routing to various services and any complex auth or routing rules would be the service's responsibility.

If the API gateway has your application logic in it it's not a separate component at all.

How complex can you really get with HTTP requests anyway?

2 comments

Authn is gateway’s responsibility. Authz is subservice’s.
think about two product people with opposing goals. that’s how you get a mess. nothing technical