To add the newly required dependency, we will change the pom.xml of the planes microservice. We will add the following dependency:
<dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-oauth2</artifactId></dependency>
A piece of cake – our required dependency is configured properly.
In the next section, we will configure the application.yaml file.