That’s super bizarre that it just switched to
GET. The method is set in your
nuxt.config.js file but if you are using Laravel Sanctum with the
laravelSanctum auth strategy, it should automatically POST to the
With the multiple requests to the
/login route and
/csrf-cookie route, I assume 1 is the
OPTIONS request and the other is the actual request. However, I don’t know why there are 3. Are you by any chance hooking into the method to submit the log in form multiple times? Like 2 event handlers? Just throwing out some possible ideas.
As for running NuxtJS locally with HTTPS, we did get it working. However, we have a Docker development environment that @jaydrogers set up custom. He can guide a little more on the HTTPS side of things, I know it was kind of a trick.