OAuth2 Token Validation

This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

OAuth2 Token Validation

WSO2 Identity Server provides a SOAP service to validate the OAuth2 token it has issued which can be used by the resource server. This section guides you through calling the SOAP service using the SOAP UI. 

The relevant code segment in the sample webapp WSO2 playground2 for OAuth2 can be found here.

  1. Open the <IS_HOME>/repository/conf/carbon.xml file and set the <HideAdminServiceWSDLs> property to false. 

    <!-- If this parameter is set, the ?wsdl on an admin service will not give the admin service wsdl. --> <HideAdminServiceWSDLs>true</HideAdminServiceWSDLs>
  2. Restart the server to make the changes effective.

  3. Go to the SOAP UI and give the WSDL location.

    1. Service Name: OAuth2TokenValidationService 

    2. WSDL location:https://localhost:9443/services/OAuth2TokenValidationService?wsdl

  4. Provide the following parameters to call the validate method as seen below.