I have trouble:
- I've ionic 2 app, in which user need login via form
- Django backend with django-registration for user registration/login/etc.
Problem: Sending data via post request to django-registration login url causes 403 Forbidden error(Forbidden (CSRF token missing or incorrect.): /accounts/login/). So, my opinion, that in this case I can't fix it without changing user authentication library on backend side. But I need use those stack and those libraries. Commenting csrf middleware in settings file doesn't help. I've been tried use angular2-cookie from this answer, but it's still returning 403 error. Is there another way to solve this problem?