I have a simple WCF client over HTTPS that works pretty fine with the WCF Test Client. Now when I enabled Federation to WCF, the same works fine in a browser.
- As soon as I access the svc URL, it redirects to the federated login page.
- After valid authentication, it comes back with the metadata page.
I would like to perform the same with WCF Test Client. But in Fiddler, it redirects with an Error 302 and hence fails to get any metadata. The same is observed when I created a console application and consume the call.
Note: I do not want to create a Web application to test the same.
Questions:
- Is this scenario possible?
- If yes, what needs to be done if I need to make it work via client applications.