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

Handle CSRF on GraphQL endpoint #82

Open
XanderVertegaal opened this issue Jun 14, 2024 · 0 comments
Open

Handle CSRF on GraphQL endpoint #82

XanderVertegaal opened this issue Jun 14, 2024 · 0 comments
Milestone

Comments

@XanderVertegaal
Copy link
Contributor

Currently, /api/graphql is exempt from CSRF.

image

We could solve this by sending CSRF-tokens along with every request, or by implementing a good user/permission system, which ensures that non-authenticated users are not able to query/mutate anything.

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

No branches or pull requests

2 participants