Put it in the cookie /session?
Sep 8, 2020
2
Level 2
How to pass X-XSRF-TOKEN in every web based response using JWT?
Hello,
I just replaced the API token package from laravel/passport to tymon/jwt-auth to implement the multi-table auth. everything working fine.
but now i am looking for the way to attach X-XSRF-TOKEN header in each web response so that I can make an ajax call from the web UI React app and check the authentication. the laravel/passport had a way to do that by adding a line in kernel.php.
Please don't tell me to pass in the URL query string.
Please or to participate in this conversation.