The Client Credentials Grant is one of the four grant types in the OAuth 2.0 specification. For more information about this grant type, see Client Credentials Grant.
Running the application
Before you begin, you must first set up the sample webapp.
- Visit the URL http://localhost:8080/playground2/oauth2.jsp to start the application.
Enter the following details and click Authorize.
- At this point the application receives the Access Token.
- Click on Get Photos.
Now you should be able to see the user photos.