Passport laravel createToken Personal access client not found : <p>After setup of passport, I have configured and created a controller to manage Register-Login- and - access to a resource for a general external post request. I do not need for a specific client. But when I try to create a token in the registration or in the login:</p>

<pre><code>$tokenObj=$user-&gt;createToken('APPLICATION')-&gt;accessToken;
</code></pre>

<p>The error is:</p>

<blockquote>
  <p>RuntimeException: Personal access client not found. Please create one. in file
  C:\xampp7.1\htdocs\passport\vendor\laravel\passport\src\ClientRepository.php
  on line 94
      Stack trace:
      1. RuntimeException-&gt;() C:\xampp7.1\htdocs\passport\vendor\laravel\passport\src\ClientRepository.php:94
        2. Laravel\Passport\ClientRepository-&gt;personalAccessClient() C:\xampp7.1\htdocs\passport\vendor\laravel\passport\src\PersonalAccessTokenFactory.php:71</p>
</blockquote>

<p>How can I solve it?</p>
