This is an experimental from the ground up microservices example. It uses mTLS to communicate between the different programs.
The repo uses docker and
docker-compose.
Pull the repository and run the following commands:
$ git clone https://github.com/jaztec/microservices-example.git
$ cd microservices-example
$ docker-compose up --buildThis should get you a running setup at http://localhost:9097.
Going there takes you to a login page that is wired for the example. The
credentials are simply test and test.
Alternatively you can use the client credentials grant, that works with any
client_id and client_secret set to 42:
http://localhost:9096/token?grant_type=client_credentials&client_id=anything&client_secret=42&scope=read
This example is not persistent. Taking it down will clear all certificates as will restarting a single application.