I wanted a solution where we can easily captured Oauth2 and Oauth2
client for the secure communication with all of the microservices
. Focusing, how to achieve oauth2 full flavor into microservices
architecture. User can’t access API without token. The token will be available when user given basic and authentication details to generate token for access API.
All requests will consider one entry point API-Gateway but, service-to-service can communicate. The API-Gateway will dynamic routing using Zuul Netflix OSS
component. Every request will check authorization when request will arrived into service and service will request authorization server to verify is either authenticate or not. The entire Meta configuration settled into the central configuration on github
(You can manage on any repository).
Spring security, Oauth2, Oauth2 client
Spring Cloud
, Netfllix OSS
.Java, Spring and Oauth2.
Microservices is a service-oriented architecture pattern where in applications are built as a collection of various smallest independent service units. It is a software engineering approach which focuses on decomposing an application into single-function modules with well-defined interfaces. These modules can be independently deployed and operated by small teams who own the entire life-cycle of the service.
#java #spring boot #microservice #spring cloud #oauth2