Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning

This page is under construction

Running the application:

  1. Visit the URL http://localhost:8080/playground2/oauth2.jsp to start the application.
  2. Enter the following details and click Authorizeclick Authorize.

    Panel
    bgColor#F0F0F0
    borderStylesolid

    Authorization Grant Type: Implicit
    Client ID: (the client id received at the application registration)
    Callback URL: http://localhost:8080/playground/oauth2client
    Authorize Endpoint: https://localhost:9443/oauth2/authorize

    Info

    If you have configured the service provider in a tenant, you have to add the tenant domain as a query parameter to the authorize endpoint.

    If the tenant domain is wso2.com, authorize endpoint will be as follows.

    Panel
    titleBGColor#F0F0F0
    borderStylesolid

    Authorize Endpoint: https://localhost:9443/oauth2/authorize?tenantDomain=wso2.com

     

  3. Log in with the user.
    2.png
  4. Click Approve to consent to this action.
    3.png
  5. At this point the application receives the Access Token.
    5.png
  6. Click on Get Photos.
  7. Now you should be able to see the user photos.
    6.png