title: OAuth2: What is the difference between the JWT Authorization Grant and Client Credentials Grant with JWT client authentication?
body: <p>The OAuth2 JWT Profile introduces the possibility to use JWTs both as authorization grant and as client authentication. </p>
  
  <p>The JWT client authentication feature is independent of a certain grant type, and can be used with any grant type, also the client credentials grant. </p>
  
  <p>However, using the JWT grant type seems to do exactly the same as using the client credentials grant with JWT client authentication, except that the syntax is slightly different. </p>
  
  <p>In both cases the client contacts the token endpoint to get an access token: </p>
  
  <pre><code>POST /token.oauth2 HTTP/1.1
  Host: as.example.com
  Content-Type: application/x-www-form-urlencoded
  
  grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Ajwt-bearer&amp;assertion=[JWT]
  </code></pre>
  
  <p>vs</p>
  
  <pre><code>POST /token.oauth2 HTTP/1.1
  Host: as.example.com
  Content-Type: application/x-www-form-urlencoded
  
  grant_type=client_credentials&amp;client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-bearer&amp;client_assertion=[JWT]
  </code></pre>