title: wso2 API Manager "Unsupported Client Authentication Method!"
body: <p>I am attempting to use the OAuth2 grant_type=password for a token request as described <a href="https://www.rfc-editor.org/rfc/rfc6749#section-4.3.2" rel="nofollow noreferrer">here</a> with the WSO2 API Manager. Using the following curl command.</p>
  <pre><code>curl -k -d &quot;grant_type=password&amp;username=&lt;uname&gt;&amp;password=&lt;pwd&gt;&amp;scope=PRODUCTION&quot; http://localhost:8280/token
  </code></pre>
  <p>The response from this request is:</p>
  <pre><code>{&quot;error&quot;:&quot;invalid_request&quot;,&quot;error_description&quot;:&quot;Missing parameters: client_id&quot;}
  </code></pre>
  <p>Next, I supply my consumer key and the curl request becomes the following:</p>
  <pre><code>curl -k -d &quot;grant_type=password&amp;username=&lt;uname&gt;&amp;password=&lt;pwd&gt;&amp;scope=PRODUCTION&amp;client_id=&lt;myconsumerkey&gt;&quot; http://localhost:8280/token
  </code></pre>
  <p>However, the response is baffling:</p>
  <pre><code>{&quot;error&quot;:&quot;unsupported_client_authentication_method&quot;,&quot;error_description&quot;:&quot;Unsupported Client Authentication Method!&quot;}
  </code></pre>
  <p>So, my question is does the API Man just not support this grant_type?  Or, am I doing something incorrectly here?  Should I be looking at the identity server for this grant type?</p>
  <p>Cheers</p>