尝试使用 WCF Claims Aware 设置 STS。我在客户端收到此消息:
Server Error in '/ClientWebsite' Application. The message could not be processed because the action 'http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/SCT' is invalid or unrecognized.
我该如何解决这个问题?
最佳答案
与 WIF 4.5
有同样的问题和 ADFS 2.0
.我通过禁用绑定(bind)上的安全上下文来解决它:
binding.Security.Message.EstablishSecurityContext = false;
关于wcf - 无法处理该消息,因为操作 'http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/SCT' 无效或无法识别。,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12972008/