title: Heroku and Laravel Passport
body: <p>I try to install my app on heroku. This app is a php-laravel app with the "passport" for the authentication. All is running fine in my local machine (mac os). </p>
  
  <p>When I try to do a simple 'post' with postman, I have this error : </p>
  
  <blockquote>
    <p>2018-03-17T17:05:22.059708+00:00 app[web.1]: [17-Mar-2018 17:05:22 UTC] [2018-03-17 17:05:22] production.ERROR: Key path "file:///app/storage/oauth-private.key" does not exist or is not readable {"exception":"[object] (LogicException(code: 0): Key path \"file:///app/storage/oauth-private.key\" does not exist or is not readable at /app/vendor/league/oauth2-server/src/CryptKey.php:45)"} []</p>
  </blockquote>
  
  <p>To setup passport, I generated the keys with :</p>
  
  <blockquote>
    <p>php artisan passport:install</p>
  </blockquote>
  
  <p>And I see the keys in my database in heroku. So the command worked properly. </p>
  
  <p>So what is this error ? </p>
  
  <p>I tried also to regenerate the keys, to stop and restart the application. Without successes.</p>
  
  <p>Thanks for your suggestions. 
  Merci</p>
  
  <p>Dominique</p>
  
  <p>EDIT : in fact, the key files are not generated in the folder app/storage, that's why there is this error. But why these files are not generated ? </p>