off.the.walls wrote: » Hey everyone, Currently working on a project that consists of 4 separated services. The one part i'm stuck at, and can't seem to find any good documentation on is securing the endpoints with a JWT auth service. Or any auth service. Has anyone dealt with this before and could point me to the right direction? Thanks.
John_Mc wrote: » You would generally have a Gateway API which handles authentication & authorisation and then orchestrates calls to your microservices. The microservices could be open but would be locked down to only accept calls from the Gateway. Microservice endpoints should generally be small enough in function and reusable, and this makes them difficult to authorise against a users role as they could be used for a load of different functions.
counterpointaud wrote: » This is pretty much the standard way I've seen it done. You would tend not have the microservices accessible from the internet or VPC directly, only through the gateway.
GreeBo wrote: » Are the 4 services totally independent or will you be chaining/orchestrating between them?
off.the.walls wrote: » Anyone any ideas how to secure it even more?