title: How can I test the grant type authorization code for oauth2 on WSO2?
body: <p>Found samples for Custom grant, password and credentials. Is there some sample (nodejs, curl, java or any other option) that you can test the authorization code with the playground2? </p>
  
  <ul>
  <li><p>Oauth with Grant Type Password:
  <a href="http://xacmlinfo.org/2015/03/09/openid-connect-support-with-resource-owner-password-grant-type/" rel="nofollow">http://xacmlinfo.org/2015/03/09/openid-connect-support-with-resource-owner-password-grant-type/</a></p></li>
  <li><p>Oauth with Grant Type Credentials:
  <a href="http://xacmlinfo.org/2013/12/02/client-credential-grant-type-with-oauth-2-0/" rel="nofollow">http://xacmlinfo.org/2013/12/02/client-credential-grant-type-with-oauth-2-0/</a></p></li>
  </ul>