Some points that I think worth looking at
- Simple OAuth2 Server that support custom UserDetails
- 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
- Support custom Principle
- server.context-path is mandatory to support static resources
- 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