Tell me, is it correct to create a Personal Access Token right away when registering or authorizing a user or is it not acceptable and you need to bother with registering client_id, client_secret, code, etc.?

$user->createToken('Personal Access Token'); 

As part of the study, I try to create registration and authorization on the site via API. Laravel Passport + Vue. I would like to understand in the right direction whether I am moving or not, thanks.

    0