I am using a Security Token Server (STS) to authenticate different users
At present I am using a Security Token Server (STS) to authenticate different users. It was configured with HTTPS. You may know that it is a WCF service. I attached WCF web role for the STS in our Silverlight Client Application. It’s to be noted here that both of these applications are joined together with azure project.
At present it is working unexpectedly as on IIS I have host applications. Again when I ran the same on Emulator, it showed me the following error message.
Please help.
The message with To 'https://127.0.0.1:4443/Service.svc/IWSTrust13' cannot be processed at the receiver, due to an AddressFilter mismatch at the EndpointDispatcher. Check that the sender and receiver's EndpointAddresses agree.
i found some solutions adding below code to class files [ServiceBehavior(AddressFilterMode = AddressFilterMode.Any)] [AspNetCompatibilityRequirements(RequirementsMode =Â AspNetCompatibilityRequirementsMode.Allowed)]Â
But as we are using Microsoft identity model DLL, we don’t have access to service classes.
our service's svc file contains code like this only : <%@ ServiceHost Language="C#" Debug="true" Factory="Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceHostFactory" Service="CustomSecurityTokenServiceConfiguration" Â %>