DEV Community

Discussion on: Microservices Authentication Strategies: Theory to Practice

Collapse
 
skona27 profile image
Jakub Skoneczny

Hi!
Nice article :)

Have you considered creating another service to serve as an API gateway? Then, your client could talk to one service which would proxy requests to microservices. Also, the authentication would be a little simpler since you could add guards inside the gateway, and other microservices would not have to implement auth logic :)

Collapse
 
tomweiss profile image
Tom Weiss • Edited

Hi, thanks! I preferred to keep the post as simple as possible with less "moving parts", but I agree with you - it's definitely a great addition that the readers can implement :)