Hi,
I have created an asp .net MVC 5 app and I have configured ADFS and Web Application Proxy to work internally and externally. I am using Owin middleware to authenticate and I had to use Katana CookieManager to avoid ADFS loop problem MSIS7042.
Everything works fine internally, but when I try to login externally, I get a blank page with the parameter authtoken in the url. I use preauthentication with ADFS in WAP.

Note: I have published other applications with ADFS and WAP and they work correctly, though they are made with ASP.NET Core, I am not sure if it is something about this.
Thank you in advance.