In Microservice architecture, public clients & confidential clients are there as per API Gateway Pattern, Public clients connecting from Browser to backend reaches it via API Gateway
API Gateway does Authentication / Authorization and reaches backend point
Depending on the client [ OAUTH2 Grants type are used].
Question is, If there are multiple microservice A, B, C
- A is microservice - invovked from a Browser app [ Angular or SPA] , A has to invoke B for some purpose B microservice is not exposed directly to outside world , it is a internal
A Reaches B via HTTP as a service
- Apart from Mutual TLS, what is security to be adopted
- Do all microservice [ internal] to be registed in API Gateway and Microservie A has to reach B only via API Gateway, If Not, What kind of authentication and authorization to be used as practise
- Most of the places [ AUthentication & Authorization are coming out of box with API Gateway backed with Key Managers]
- If we by pass API Gateway, Should Authentication and authorization has to be implemented custom way?