How to generate user token through the specified client_id

user token needs to be generated through the specified client_id

description

L5.5+Passport mode used by the project

is now in password-based passport mode
user1 in the database
is generated through client_id= > 1 , but I need to use clinet_id= > 2 to generate how the user token, can get the user"s new token without re-entering the password

.
$user->createToken("token")->accessToken

client_id=>1 token

Thank you

Mar.31,2021

client_id originally needs to be passed as a parameter, but many people write it on the server, limiting it to

.

clipboard.png

Menu