See this: https://laracasts.com/discuss/channels/laravel/authenticate-with-jwt-auth
You still use same email and password, there isn't two different logins. Tokens are handled behind the scenes.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Inertia is great but I am worried about the iOS/Android apps be it in Flutter or what not that will need an API alongside.
I guess creating an additional API routes and controllers is double the work but it is not a big problem.
I am more worried about the mix of json web tokens with API routes (mobile apps) and classical sessions (Inertiajs) for authentication of users.
My biggest worry is that the same user is logged in via the web session on a computer and then via a JWT on the mobile app.
Will the mix of JWT on mobile apps and a classical session in one project be a problem?
Please or to participate in this conversation.