Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XSRF Header Support #151

Open
LoganTFox opened this issue Mar 7, 2024 · 1 comment
Open

XSRF Header Support #151

LoganTFox opened this issue Mar 7, 2024 · 1 comment

Comments

@LoganTFox
Copy link

LoganTFox commented Mar 7, 2024

It seems as though the package only accounts for a token to come through. I am using laravel with inertiajs which uses the XSRF header and cookie but it doesn't seem like that will work. Am I missing something in the documentation? Would it be possible to get the package updated to also check for that header?

https://laravel.com/docs/10.x/csrf#csrf-x-xsrf-token

@mikebronner
Copy link
Owner

@LoganTFox would love to accept a PR for this. It would be perfect if you could test it in your environment to make sure it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants