My website uses Forms authentication. I did silverlight 3 module which is designed to work in context of asp – authenticated user. Silverlight module talks with WCF hosted by the same asp.net website, but the issue is that it cannot authenticate to WCF service.
I run Fiddler and I see that .ASPXAUTH cookie is not sent to WCF service.
How to force Silverlight to get this cookie from browser and send it to service?
R – Silverlight and ASP.NET authorization
asp.netforms-authenticationsilverlightwcf
Best Answer
Finally I solved it. The problem of missing cookie was made by inproper host name. I was sending asp.net requests to
myhostname
, but SL was calling WCF usingmyhostname.mylocaldomainnam.local
. This is why there was no.aspauth
cookie during WCF calls.