title: Get TOKEN auth2 - POST client data - bad request
body: <p>I hava a problem (404 : Bad request ) when consuming token API in my react APP .
  In Post man, it work very well </p>
  
  <pre><code>  const requestOptions = {
              method: 'POST',
              mode: "no-cors", // no-cors, cors, *same-origin
              cache: "no-cache", // *default, no-cache, reload, force-cache, only-if-cached
              credentials: "include", // include, *same-origin, omit
              redirect: "follow", // manual, *follow, error
              referrer: "no-referrer", // no-referrer, *client
              headers: {
              },
              body: JSON.stringify({
                  "client_id": "1_15dpzlnknhtwk8sgo4gwo800okogc4g00gk4k04g4g0cgc0ww0",
                  "client_secret": "dc86f30rr6okw8w84c8owkcko08s4k8k4c4c4k04osow8skko",
                  "grant_type": "password",
                  "username": "demoUsername",
                  "password": "demoPassword"
              })
          };
  </code></pre>
  
  <hr>
  
  <pre><code>fetch('http://localhost:8000/oauth/v2/token', requestOptions)
      .then(function(response) {
          console.log('response');
          console.log(response);
  
      })
      .then(function(myJson) {
          console.log(JSON.stringify(myJson));
      });
  </code></pre>
  
  <p>the result is  : </p>
  
  <p><a href="https://i.stack.imgur.com/riWcv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/riWcv.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/5gKRC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5gKRC.png" alt="enter image description here"></a></p>
  
  <p>this is my security.yml</p>
  
  <p><a href="https://i.stack.imgur.com/qe70Z.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qe70Z.png" alt="enter image description here"></a></p>