I am currently using laravel 11.x with react Inertia. I want to make auth protected api routes for mobile app. Inertia does not give auth middleware for api. Its uses token authentication.
How to set up api middleware and routes in this situation.
New contributor
Sefa Dedeoglu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.