Skip to content
This repository has been archived by the owner on Sep 14, 2022. It is now read-only.

Unable to get Angular and Express to use csrf #51

Closed
maplesap opened this issue Feb 11, 2015 · 1 comment
Closed

Unable to get Angular and Express to use csrf #51

maplesap opened this issue Feb 11, 2015 · 1 comment
Labels

Comments

@maplesap
Copy link

I'm having some trouble getting both these frameworks to use and verify csrf. Main problem is that angular's csrf is always undefined and csurf doesn't seem to verify any tokens at all (the app.post('/login') is always run successfully as though csurf was never integrated).

Here is my attempt at getting a register form to use csrf:
https://github.com/maplesap/csrf_test

You can run it with node app.js and then visit /register to see the problem. Can anyone help?

@dougwilson
Copy link
Contributor

We don't know anything about Angular, unfortunately. You may get an answer if you posted this on Stackoverflow.com

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

No branches or pull requests

2 participants