This project is developed with Spring Boot 2.5.0 and spring-security-oauth2
- Clone project to desired repo
- Import project to your preferred IDE
- Replace placeholders "REPLACE_WITH_YOUR_CLIENT_DETAIL" in
GetMatiOAuth2Configuration
with your client id and secret - Run the class
GetMatiTestApplication
The code in TestRunner
is picked up, which makes request to get resource data and selfie file. Replace placeholder "REPLACE_WITH_YOUR_WEBHOOK_RESOURCE_URL" with your webhook resource url.