O'Reilly logo

Practical Microservices by Umesh Ram Sharma

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

OAuth 2.0

One good thing we get from OpenID is that we can identify the user. For microservices, it changes the challenges faced. In microservices, each service is performing its own kind of work. Now, the challenge is, if the user or client is authenticated, should he get access to all the microservices? This will allow the user to mess with all the microservices, which means the whole system that makes this architecture is treated as monolithic architecture. Here, if the attacker breaches the security, then they can get access to the whole system.

This problem leads to another idea. Each user/client should have limited permissions. Not every user/client should have access to all the microservices and all the operations in a particular microservice. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required