title: Unable to generate token using Laravel Passport
body: <p>Trying to generate tokens via Laravel 8 Passport
  by sending an Http Request to the endpoint, (using laravel valet to deploy apps)</p>
  <p><code>https://project.test/oauth/token</code></p>
  <p>my composer :</p>
  <pre><code>        &quot;php&quot;: &quot;^7.3|^8.0&quot;,
          &quot;fideloper/proxy&quot;: &quot;^4.4&quot;,
          &quot;fruitcake/laravel-cors&quot;: &quot;^2.0&quot;,
          &quot;guzzlehttp/guzzle&quot;: &quot;^7.0.1&quot;,
          &quot;laravel/framework&quot;: &quot;^8.12&quot;,
          &quot;laravel/jetstream&quot;: &quot;^1.6&quot;,
          &quot;laravel/passport&quot;: &quot;^10.1&quot;,
          &quot;laravel/sanctum&quot;: &quot;^2.6&quot;,
          &quot;laravel/socialite&quot;: &quot;^5.1&quot;,
          &quot;laravel/tinker&quot;: &quot;^2.5&quot;,
          &quot;livewire/livewire&quot;: &quot;^2.0&quot;
  </code></pre>
  <p>I get this exception: It was not possible to parse your key, without specifying the reason why,
  I tried to google it i found nothing, stick with this for days.</p>
  <pre><code>
  {
  {
      &quot;message&quot;: &quot;It was not possible to parse your key, reason: &quot;,
      &quot;exception&quot;: &quot;Lcobucci\\JWT\\Signer\\InvalidKeyProvided&quot;,
      &quot;file&quot;: &quot;/Users/yassine/Desktop/apps/project/vendor/lcobucci/jwt/src/Signer/InvalidKeyProvided.php&quot;,
      &quot;line&quot;: 17,
      &quot;trace&quot;: [
          {
              &quot;file&quot;: &quot;/Users/yassine/Desktop/apps/project/vendor/lcobucci/jwt/src/Signer/OpenSSL.php&quot;,
              &quot;line&quot;: 85,
              &quot;function&quot;: &quot;cannotBeParsed&quot;,
              &quot;class&quot;: &quot;Lcobucci\\JWT\\Signer\\InvalidKeyProvided&quot;,
              &quot;type&quot;: &quot;::&quot;
          },
          {
              &quot;file&quot;: &quot;/Users/yassine/Desktop/apps/project/vendor/lcobucci/jwt/src/Signer/OpenSSL.php&quot;,
              &quot;line&quot;: 42,
              &quot;function&quot;: &quot;validateKey&quot;,
              &quot;class&quot;: &quot;Lcobucci\\JWT\\Signer\\OpenSSL&quot;,
              &quot;type&quot;: &quot;-&gt;&quot;
          },
          {
              &quot;file&quot;: &quot;/Users/yassine/Desktop/apps/project/vendor/lcobucci/jwt/src/Signer/OpenSSL.php&quot;,
              &quot;line&quot;: 18,
              &quot;function&quot;: &quot;getPrivateKey&quot;,
              &quot;class&quot;: &quot;Lcobucci\\JWT\\Signer\\OpenSSL&quot;,
              &quot;type&quot;: &quot;-&gt;&quot;
          },
          {
              &quot;file&quot;: &quot;/Users/yassine/Desktop/apps/project/vendor/lcobucci/jwt/src/Signer/BaseSigner.php&quot;,
              &quot;line&quot;: 38,
              &quot;function&quot;: &quot;createHash&quot;,
              &quot;class&quot;: &quot;Lcobucci\\JWT\\Signer\\OpenSSL&quot;,
              &quot;type&quot;: &quot;-&gt;&quot;
          },
          {
              &quot;file&quot;: &quot;/Users/yassine/Desktop/apps/project/vendor/lcobucci/jwt/src/Builder.php&quot;,
              &quot;line&quot;: 568,
              &quot;function&quot;: &quot;sign&quot;,
              &quot;class&quot;: &quot;Lcobucci\\JWT\\Signer\\BaseSigner&quot;,
              &quot;type&quot;: &quot;-&gt;&quot;
          },
          {
              &quot;file&quot;: &quot;/Users/yassine/Desktop/apps/project/vendor/lcobucci/jwt/src/Builder.php&quot;,
              &quot;line&quot;: 529,
              &quot;function&quot;: &quot;createSignature&quot;,
              &quot;class&quot;: &quot;Lcobucci\\JWT\\Builder&quot;,
              &quot;type&quot;: &quot;-&gt;&quot;
          },
  </code></pre>