You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to phoenix-talk
Hi, I have an angular app and i want to integrate it with backend in Phoenix. CSRF protection works well when i render pages through Phoenix. How do i use CSRF protection when my angular app generates pages?
benwil...@gmail.com
unread,
May 29, 2017, 9:42:56 AM5/29/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to phoenix-talk
Isn't this already handled via CORS handling?
Aleksey Gureev
unread,
May 30, 2017, 5:50:57 AM5/30/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to phoenix-talk
Hi mate, I believe you just save CSRF token into a window var, or into a meta tag and then use it as a parameter when sending requests to the server.