Common antipatterns
Think about an organization where the proliferation of APIs has created many different islands with different APIs made using different technologies and standards. It is very common to see different teams attempting to create standards that are not widely applicable.
A typical case we want to mention is something that happened to one of our customers. The infrastructure team had been empowered by the management to resolve the problem of API and application proliferation and to bring order to the APIs and the applications in the company’s landscape. We are talking about a company that had more than 1,000 applications and APIs.
The infrastructure team defined a gateway to validate tokens and prevent any request from reaching the backend without the validation of a token, as follows:
Figure 6.11 – Force check on every request
It is important to understand that this pattern has been applied to the entire application portfolio...