-
-
Notifications
You must be signed in to change notification settings - Fork 388
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
CSRF token mismatch error #543
Comments
Looks like documentation routes need middleware "web" |
in kernel file section api
|
Fixed this issue by updating file Add protected $except = [
"/api/*"
]; |
@quanghuybest2k2 |
This works like charm. Looks the right and safe way. That's right? |
php -v
): 8.2.6When I make requests via the swagger documentation, the X-CSRF-TOKEN on header is null all the times and I get the SRF token mismatch error
The text was updated successfully, but these errors were encountered: