Bypassing CardSpace prompt for STS app RRS feed

  • Question

  • I've got a simple service that has a ws2007FederatedHttpBinding that uses an local STS for generating some token info. When I call the web method (GetData), I'm getting a CardSpace error (due to corporate network policies). I'd like to skip the CardSpace part altogether (since the STS is logging into another system with provided credentials, I don't really care about the client identity). Looking through the source code, it looks like as long a the <issuer/> element has a binding, it should skip CardSpace. However, it is not with the following:

    <issuer address="http://localhost:63168/TokenService.svc/http/feb05" binding="ws2007FederationHttpBinding"/>

    The issue is that if I have no binding, the policy chain is 1 item deep, and it has no IssuerBinding. If I use the above, my policy[0] has a non-null IssuerBinding, but it gets a 2nd policy in the chain, this one with a null binding, hence CardSpace getting called.

    Does anyone know how to configure my app (client or server) to not require CS?

    Thursday, February 27, 2014 10:59 PM

All replies

  • Hi Keith,

    It seems it is same with the second issue in your previous thread, let's discuss the problem in one thread for convenience.

    As mentioned in previous thread, you might try disable CardSpace using ChannelFactory.Credentials.SupportInteractive = false, a reference here includes an example.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, February 28, 2014 3:04 AM