Repository navigation
docs: Add CSRF protection section - #1075
Conversation
|
This took me so much time to figure out the CSRF mechanism, I figured I might not be the only one so it could help this section. |
|
There are some grammar changes and misspellings that I need to resolve before merge, I will get to them when I have some time |
|
@BobbyMcWho I made some changes. Feel free to edit the wording and fix the grammar/spelling mistake, English is not my native language. |
|
Thanks for including this in the README documentation, it makes it more approachable! |
|
Not sure if it should be part of this PR but README.md still says the If that's true should / can the readme be updated to reflect that?
|
Describe how OmniAuth protects the request phase against CSRF and how to configure OmniAuth::AuthenticityTokenProtection.
Fix grammar, keep the rack_csrf example's context, point Rails users to the Rails setup section, and explain the Rails CSRF setting there.

Add a generic section about CSRF protection, to describe how it's implemented in OmniAuth and how to configure it.
References: