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

There is no way to protect from csrf attack in gin-goind #1855

Closed
sadegh-shahbazi opened this issue Apr 14, 2019 · 2 comments
Closed

There is no way to protect from csrf attack in gin-goind #1855

sadegh-shahbazi opened this issue Apr 14, 2019 · 2 comments

Comments

@sadegh-shahbazi
Copy link

  • With issues:There is no way to protect from csrf attack in gin-goind

    • Use the search tool before opening a new issue.
    • Please provide source code and commit sha if you found a bug.
    • Review existing issues and provide feedback or react to them.
  • go version:1.12

  • gin version (or commit ref):

  • operating system:windows 10

Description

the only package to use for csrf middleware for gin-gonic is
https://github.com/utrack/gin-csrf/
it was not powerful
and it's not working any more...

what should we do?

@mikeee
Copy link

mikeee commented Apr 20, 2019

I've replied to an issue you created in the utrack/gin-csrf repo - works fine for me 🙌

Failing that you can use other csrf middleware such as gorilla/csrf

@dmarkham
Copy link
Contributor

dmarkham commented Jun 6, 2019

@sadegh-shahbazi did these work for you? If so lets close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants