Spring Salesforce Quickstart uses the Spring Salesforce extension to show an example Spring Boot app connecting to Salesforce.
To use the app set the consumer key and consumer secret of a connected app in the application.properties file.
The callback/redirect URI should follow the pattern defined in the application.properties
The example app can be run using mvn spring-boot:run.