321
CHAPTER 8 | Make secure .NET Microservices and Web Applications
Directory or a dedicated authentication microservice acting as a security token service (STS) can be
used to authenticate users. Trust decisions are shared between services with security tokens or
cookies. (These tokens can be shared between ASP.NET Core applications, if needed, by implementing
cookie sharing
.) This pattern is illustrated in Figure 9-2.
Figure 9-2. Authentication by identity microservice; trust is shared using an authorization token
When microservices are accessed directly, trust, that includes authentication and authorization, is
handled by a security token issued by a dedicated microservice, shared between microservices.
Dostları ilə paylaş: