We found the access_token and now we'll use it. To do this, create another GET request and insert http://localhost:8081/private.
As a parameter, use access_token with the value of the given token key, and click Send:
Once that's done, you can access the /private URL, which is protected and configured in the ResourceServerConfig class.
We're now ready to use the OAuth2 Spring Security in our project.