I trying to create JWT auth. At this moment creating refresh token in cookies.
This removes _identity cookie and showing error always when submit any form with POST method:
Unable to verify your data submission. Bad request 400.
I have checked. All my forms automaticly have hidden csrf input field and in meta tag inside html header.
When I remove code with custom cookie, all works fine.
What i doing wrong?