Application properties

In this project, we are using application.yml files and the code is as follows:

server:
port: 8080
spring:
thymeleaf:
cache: false
security:
oauth2:
client:
movie-app-client:
client-id: oAuthClientAppID
client-secret: secret
user-authorization-uri: http://localhost:8082/oauth-server/oauth/authorize
access-token-uri: http://localhost:8082/oauth-server/oauth/token
scope: read, write, movie
pre-established-redirect-uri: http://localhost:8080/movie/index
movie:
base-uri: http://localhost:8081/oauth-resource/movie

The very important aspect of this YML file is the movie-app-client properties setup. Again, being a Spring Boot project, it can be run by executing the mvn spring-boot:run command.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.217.138.138