I have some ASP.NET core application which hosts on IIS and uses authorization strategy throught ADFS server. When it hosts the ASP.NET core app as self hosted app (Kestrel) it works good but when it hosts on IIS then it produces the "HTTP Error 400. A request header field is too long." error.
Any ideas about the solutions except which I've tried before? Here is my cookies screen. Yes its not small but it's not a huge size and I have no idea why IIS doesn't accepts it. Application cookies FROM ADFS
The solutions which I've googled and tried but it DOESN'T works.