An exmaple Spring Boot application that uses Reddit's OAuth 2.0 for authentication, and invokes a downstream OAuth protected resource.
An accompanying Medium post can be found here.
- Java 11
You are required to update the clientId
and clientSecret
values in ./src/main/resources/application.yml
for the service to work correcttly.
./mvnw spring-boot:run