I’ve successfully implemented a login system with react and laravel, cookies set like they should, routes are set as they should, env variables as well, now the issue resides when i try to perform a post request to my laravel api to create a new “ticket” using RTK query within the authenticated page, i’ve tried all i could and even asked chat gpt with no clue to how to fix it or why i’m getting a toen mismatch when all headers and env variables are set correctly, here is the code snippet:
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.