Since we are running all three servers locally, we have to specify different ports. Also, it's important that the authorization server runs on a different context path. The following code snippet shows what we have in our application.properties file:
server.servlet.context-path=/oauth-server
server.port=8082
Being a Spring Boot project, it can be run by executing the mvn spring-boot:run command.