if I configure fiddler | tools | fiddler options | https | capture https connects + decrypt https traffic [ ...from all processes ] + ignore server certificate errors then I can successfully use fiddler to trace browser client wsfederation signin processing.
when I try to trace rich client wstrust signin processing, e.g. using those generated by implementations like the following, it fails with a FaultException where InnerException message = "An error occurred when processing the security tokens in the message."
If I simply disable fiddler capture the same code works.
Any insights as to the fiddler configuration setting I need to make to enable tracing rich client wstrust signin processing?
var binding = new CustomBinding(new BindingElement[] { SecurityBindingElement.CreateKerberosOverTransportBindingElement(),
new HttpsTransportBindingElement() { AuthenticationScheme = AuthenticationSchemes.Negotiate } });
var wsTrustChannelFactory = new WSTrustChannelFactory(binding, adfsaddr + "/adfs/services/trust/13/kerberosmixed");
wsTrustChannelFactory.Credentials.Windows.ClientCredential = CredentialCache.DefaultNetworkCredentials;
wsTrustChannelFactory.Credentials.SupportInteractive = false; // optionally disable prompt for creds if default creds fail
wsTrustChannelFactory.TrustVersion = TrustVersion.WSTrust13;
var wsTrustChannel = wsTrustChannelFactory.CreateChannel();
var rst = new RequestSecurityToken();
rst.RequestType = RequestTypes.Issue;
rst.AppliesTo = new EndpointReference("
https://myrelyingparty.domain.com/");
rst.KeyType = KeyTypes.Bearer;
var securityToken = wsTrustChannel.Issue(rst);