Accessing the protected URL

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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.237.123