@maxxxir Firstly, you‘re using personal access tokens wrong. They’re for a user to generate themselves from a logged-in account area. Think GitHub where they let you generate tokens for your account. They’re personal access tokens.
You should instead be using an authorization code grant with PKCE client. From https://laravel.com/docs/11.x/passport#code-grant-pkce:
The Authorization Code grant with "Proof Key for Code Exchange" (PKCE) is a secure way to authenticate single page applications or native applications to access your API.
--
users need to login in my backend directly which means i need a login views in my backend app
Well yes. How are you intending to issue an access token for a user, if the user does not authenticate?
and users need to log in again in my back end directly even if they are already logged in via front app
Not if you use Passport properly and pick the correct OAuth grant type for your situation. Using an authorization code grant with PKCE client as mentioned above means the user would log in once on your back-end, and then be redirected back to your “front end” with an OAuth token that should be used to make API requests as that user. You can’t “log in” to something running entirely on the client side in the user’s browser.