sessions icon indicating copy to clipboard operation
sessions copied to clipboard

Which CSRF library is recommended to use?

Open rew1nter opened this issue 2 years ago • 1 comments

Is any library recommended to use with gin for csrf protection? There's no official CSRF protection library right?

rew1nter avatar Jan 13 '22 16:01 rew1nter

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

srbry avatar Jan 26 '22 15:01 srbry