Skip to content

shahbour/microservices-security

Repository files navigation

microservices-security

Diagram

Some points that I think worth looking at

Auth-Server

  • Simple OAuth2 Server that support custom UserDetails

Gateway ( Zuul Proxy )

  • Bean OAuth2RestOperations is needed to support refresh token .
  • Custom Ribbon Server Filter that is needed to specify specific zones for development purpose
  • strip-prefix for the ui service should be set to false to support loading static resources wihtout any problem

UI Service

  • Support custom Principle
  • server.context-path is mandatory to support static resources

Task

  • This represent a task like spring-cloud-task or spring-batch that is run either by cron or task launcher
  • Bean OAuth2FeignRequestInterceptor is needed to inject Authorization header in feign requests
  • It uses client_credentials as it is M2M

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published