{"action":"created","issue":{"url":"https://api.github.com/repos/krakenjs/lusca/issues/54","labels_url":"https://api.github.com/repos/krakenjs/lusca/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/krakenjs/lusca/issues/54/comments","events_url":"https://api.github.com/repos/krakenjs/lusca/issues/54/events","html_url":"https://github.com/krakenjs/lusca/issues/54","id":85461089,"number":54,"title":"Error: CSRF token missing","user":{"login":"gracehopper17","id":6985729,"avatar_url":"https://avatars.githubusercontent.com/u/6985729?v=3","gravatar_id":"","url":"https://api.github.com/users/gracehopper17","html_url":"https://github.com/gracehopper17","followers_url":"https://api.github.com/users/gracehopper17/followers","following_url":"https://api.github.com/users/gracehopper17/following{/other_user}","gists_url":"https://api.github.com/users/gracehopper17/gists{/gist_id}","starred_url":"https://api.github.com/users/gracehopper17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gracehopper17/subscriptions","organizations_url":"https://api.github.com/users/gracehopper17/orgs","repos_url":"https://api.github.com/users/gracehopper17/repos","events_url":"https://api.github.com/users/gracehopper17/events{/privacy}","received_events_url":"https://api.github.com/users/gracehopper17/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-05T07:25:54Z","updated_at":"2015-06-05T07:49:24Z","closed_at":null,"body":"Hi,\r\nI am trying to integrate lusca in my application using Angular,Express and Node.\r\nPlease help me with the following issue\r\nError: CSRF token missing\r\n\r\nAngular: Included a hidden input in a form to generate \r\ncontent=\"b4XIZqlfDLlHQbfbk381gO0UupiLY8WYFAYw0=\"\r\n\r\nnode:  Included session and cookie\r\nvar session = require('express-session'); \r\napp.use(session({\r\n  resave: true,\r\n  saveUninitialized: true,\r\n  secret: secrets.sessionSecret,\r\n  store: new MongoStore({ url: secrets.db, autoReconnect: true })\r\n}));\r\n\r\nvar cookieParser = require('cookie-parser');\r\napp.use(cookieParser());\r\n\r\napp.use(lusca({\r\n    csrf: true,\r\n    csp: { /* ... */},\r\n    xframe: 'SAMEORIGIN',\r\n    p3p: 'ABCDEF',\r\n    hsts: {maxAge: 31536000, includeSubDomains: true, preload: true},\r\n    xssProtection: true\r\n}));\r\n\r\nPlease help me debug why I get Error CSRF token missing on my node server.\r\n\r\nLet me know if you need more details.\r\n\r\nThank You"},"comment":{"url":"https://api.github.com/repos/krakenjs/lusca/issues/comments/109194142","html_url":"https://github.com/krakenjs/lusca/issues/54#issuecomment-109194142","issue_url":"https://api.github.com/repos/krakenjs/lusca/issues/54","id":109194142,"user":{"login":"gracehopper17","id":6985729,"avatar_url":"https://avatars.githubusercontent.com/u/6985729?v=3","gravatar_id":"","url":"https://api.github.com/users/gracehopper17","html_url":"https://github.com/gracehopper17","followers_url":"https://api.github.com/users/gracehopper17/followers","following_url":"https://api.github.com/users/gracehopper17/following{/other_user}","gists_url":"https://api.github.com/users/gracehopper17/gists{/gist_id}","starred_url":"https://api.github.com/users/gracehopper17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gracehopper17/subscriptions","organizations_url":"https://api.github.com/users/gracehopper17/orgs","repos_url":"https://api.github.com/users/gracehopper17/repos","events_url":"https://api.github.com/users/gracehopper17/events{/privacy}","received_events_url":"https://api.github.com/users/gracehopper17/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T07:49:24Z","updated_at":"2015-06-05T07:49:24Z","body":"No problem.\r\nIt looks like lusca does not support angular and there is already an open issue\r\nhttps://github.com/krakenjs/lusca/issues/27\r\n"}}