I have a Laravel app with a number of routes behind auth:api. I'd like those routes to be available to users in my Dashboard.
I've tried the following on a route that I have named api.me that is behind auth:api, but Inertia does not provide the Authorization header.
import { useForm } from "@inertiajs/inertia-react";
...
const { data, setData, errors, get } = useForm({});
...
get(route('api.me'));
I assume the route must be behind the auth middleware instead. If so, is it possible to have it use both the auth and auth:api middlewares?