Simple Spring Boot OAuth2 client.
Sometimes we need services act as clients for other APIs.
So that i used Spring Security that manage the OAuth 2 flow and obtain an access token from Authorization server, then send some data to an exposed endpoint that you can call using HTTP POST.
- Spring boot V2.7.7 which support Spring v5.3.24
You need to configure the client credentials of your Authorization server and the Resourse Server URI also.