Keith Lang
Jul 25, 2017 · 1 min read

Hi Stephen,

Thanks for the tutorial. I’m an Elixir/Phoenix beginner and am getting the following error when I test logging into the app via the form

“invalid CSRF (Cross Site Request Forgery) token, make sure all requests include a valid ‘_csrf_token’ param or ‘x-csrf-token’ header”

Everything works ok (registration, etc) but it breaks at login.

I’ve searched online for a solution but the answers are way over my head and I’m not even sure if they are related. Is there anything I can do to get around this?

I’ve made it “Building a simple interface”..so not too far, but it would be good to follow the entire thing and try to understand.

    Keith Lang

    Written by

    Writer, Entrepreneur, Musician. Keep trying till it works! #marketing https://fatfrogmedia.com #travel https://nomadflag.com