Hi guys, I am writing web app using Django and Next.js, but when I what to use registration from django_rest I got 403 error that tells me web-1 | Forbidden (CSRF cookie not set.): /api/auth/register and at frontend I get csrf token as response, I have added: CSRF_TRUSTED_ORIGINS = [ 'http://localhost:3000', ] but it still rise 403 error, can help me figure it out what is wrong?
In postman the api call works?