-
Notifications
You must be signed in to change notification settings - Fork 155
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
issues/158/examples for working api with javascript frontend #162
issues/158/examples for working api with javascript frontend #162
Conversation
@DavidLarsKetch do you have any input on how to approach the README? |
Would you mind updating your example to use go1.20 and update the dependencies in your go.mod? Then I think we can get this merged. |
Codecov Report
@@ Coverage Diff @@
## main #162 +/- ##
=======================================
Coverage 90.93% 90.93%
=======================================
Files 5 5
Lines 353 353
=======================================
Hits 321 321
Misses 25 25
Partials 7 7 |
Hi @francoposa
Could you point me to a resource about this? Is CORS a pre-requisite for CSRF protection? If I setup gorilla/csrf on my SPA without CORS, will my site still be vulnerable to CSRF? |
Fixes #158, which is essentially that
Summary of Changes
I have merged/copied over these simplified examples from my own repository of working examples.
I was not sure how the maintainers may want to reference these examples in the main README. Copying them over to the README verbatim would be putting a lot of code into the README, but without changing the current README, the content there differs significantly from the examples.