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

Use idempotency token of some sort for write actions #43

Open
SpraxDev opened this issue May 9, 2022 · 0 comments
Open

Use idempotency token of some sort for write actions #43

SpraxDev opened this issue May 9, 2022 · 0 comments

Comments

@SpraxDev
Copy link
Member

SpraxDev commented May 9, 2022

Using an csrf token would probably work in the frontend. As long as it is properly invalidated after a request.
But additional care is needed when the frontend allows for a retry with a new csrf token as this request would still result in a valid response but without any write being performed (because Apollo would remember the idempotency token, but not the changed csrf token).

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

1 participant