sessions
sessions copied to clipboard
Which CSRF library is recommended to use?
Is any library recommended to use with gin for csrf protection? There's no official CSRF protection library right?
Hi @rew1nter, nothing official, but I have had a good experience using: https://github.com/utrack/gin-csrf
I also created a repo off the back of it: https://github.com/srbry/gin-csrf
The main reason I created my own version was to enable the use of multiple different sessions. If you do end up using it would love some feedback