Answer the question
In order to leave comments, you need to log in
How to send CSRF token in Angular 5?
Good afternoon, we are making an application on Angular 5 and Django, there was a problem with CSRF, on the site the user login is done through LinkedIn and a POST request with the necessary information should be sent to the server for authorization, we use the library https://github.com/ronzeidman/ng2- ui-auth on the client. An error occurs with the CSRF-token is not sent to the server, I added the corresponding module to the AppModule,
but this did not help. Help solve the problem.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question