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:
$tokenObj=$user->createToken('APPLICATION')->accessToken;
错误是:
RuntimeException:找不到个人访问客户端.请创建一个.存档
How can I solve it?