docs icon indicating copy to clipboard operation
docs copied to clipboard

Improve documentation around CSRF

Open jonas-jonas opened this issue 3 years ago • 0 comments

Preflight checklist

Describe your problem

The current CSRF documentation in the Kratos section only describes that Anti-CSRF measures are used and some "common pitfalls". While these are useful, there is little to no context that describes what CSRF is and how it is used in Kratos. For users unfamiliar with CSRF and it's counter measures, this can be quite confusing, and they would need to Google for alternative documentation to fully understand the topic.

Describe your ideal solution

Ideally, we would describe the whole Anti-CSRF logic in all flows and how they are implemented and their implications for all sorts of use-cases.

That is probably not feasible, so at the very least we should add a section, that references some state-of-the-art documentation, for example https://owasp.org/www-community/attacks/csrf or others.

Workarounds or alternatives

Google your way to some Documentation on what CSRF is and how to prevent it.

Version

Additional Context

No response

jonas-jonas avatar Aug 16 '22 13:08 jonas-jonas