So I have been developing this app. Everything goes well. Then I enable SSL (phoenix internal certs). It works. I enabled the server to work http on 4000 and https on 4001.
When I try to login to http it works (and logout), then I try to login to https, it works. Then I try to login to http again, and I get a CSRF error.
I checked csrf token is ok, and it is passed to login form post fine.
Why do I get this error?
1 Like