Anyone?
Laravel airlock, api in the same domain (not even subdomain)
Hi,
I'm having problems when I configure the AIRLOCK_STATEFUL_DOMAINS to mydomain.com (api is in mydomain.com/api)
If I dont add my domain to that env value (AIRLOCK_STATEFUL_DOMAINS) or if I dont add the "EnsureFrontendRequestsAreStateful" middleware to the api group middlewares, it works fine! (no problem with auth:airlock)
My question is, do I need to configure anything? Am I missing something?
Thanks in advance,
Well, at the end I added "web" middleware to my api routes (I only use for the ajax request of my app), and when I have a "real api" (used on mobiles e.g), I would consider airlock or whatever
Please or to participate in this conversation.