I want to be able to specify a security level for my custom binding the same way you do with an basicHttpBinding.
<customBinding>
<binding name="jsonpBinding" >
....
<security mode="TransportCredentialOnly">
<transport clientCredentialType="Windows"/>
</security>
</binding>
</customBinding>
How does one do this correctly as its not accepted?
Adding
authenticationScheme="Negotiate"resolved the issue.Add this to your WCF method
Add this to your WCF web.config
Adding the following to your client (MVC Web App in my case). Its worth noting that the svcutil application does not generate the behavior for your client stub and you have to add it manualy. This had me for some time!