I installed AD FS 2.0, and I installed WIF and VS2010 on another computer that left the domain.
I created an ASP.NET MVC 3 application and configured using the Add STS Reference wizard, it downloaded the FederationMetadata.xml file from my AD FS.
I added trusted proxies to AD FS by specifying the URL identifier of my MVC application (http: // localhost: 16034 /) and created a claim rule that passes through or filters the incoming request with the type of incoming request - the name of the Windows account.
I also added an endpoint to the WS-Federation RP, and the URL was https://192.168.56.101/adfs/ls/ , which is my AD FS IP address.
Then, when I launched the site, it was redirected to AD FS, which was https://192.168.56.101/adfs/ls/?wa=XXXX&wtrealm=XXXXX . But finally, I got an error page that had an error with the link code.
I checked on an AD FS machine and found that the error was
MSIS7001: Passive protocol context not found or invalid. If the context was stored in cookies, the cookies that were submitted by the client are invalid. Verify that the clientβs browser is configured to accept cookies from this website and repeat this request.
But the problem was that when I use Fiddler, I see that my HTTP request is using cookies such as MSISAuth = XXXXX MSISAuth1 = XXXXX MSISAuthenticated XXXXX MSISLoopDetectionCookit XXXXX
What have I done wrong?