Request failed with status code 419: I got this error for login and register. How to solve this? I think it is because of csrf I don't know how to do this. for every post request I face with this error.
Read the above comment the solution is provided there Thanks
You need to check the file config/sanctum.php, and see the index 'domains'... There you need to write the yours.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Request failed with status code 419:
I got this error for login and register.
How to solve this?
I think it is because of csrf
I don't know how to do this.
for every post request I face with this error.
Read the above comment the solution is provided there Thanks
You need to check the file config/sanctum.php, and see the index 'domains'... There you need to write the yours.