gamersworld
01-04-2011, 02:46 AM
Hi,
I have run into a total showstopper on using forms authentication over SSL with Silverlight on WCF.
The problem is that when using https then it seems the authentication cookie is either lost or never sent after the inital log in (after a successful logon then subsequent service calls which are configured to require authentication will fail due to the user not being authenticated - and this same configuration works well for regular http).
Another strange thing as well - I am not able to use Add Service Reference from Silverlight on https.
Specifically, when I check https://www.gamersworldmap.com/GWMServer/Game.svc
then it says that meta information is available at
svcutil.exe https://eweb702.dotnetplayground.com/GWMServer/Game.svc?wsdl
i.e., it seems that https://www.gamersworldmap.com is somehow an alias to https://eweb702.dotnetplayground.com - and that could I guess explain the problems with not sending the authentication ticket on requests after log in.
I asked discountASP.net support about this but just said this had to do with my application configuration. However - I have been trawling the net for some time now and I see no trace of any others having a similar problem - my configuration is also quite "plain" and by the book.
Thus - have any of you used forms authentication with SSL and Silverlight (I have the free Rapid certificate from discountASP.net) and made it work?
Thanks in advance!
Best regards
--Egil
I have run into a total showstopper on using forms authentication over SSL with Silverlight on WCF.
The problem is that when using https then it seems the authentication cookie is either lost or never sent after the inital log in (after a successful logon then subsequent service calls which are configured to require authentication will fail due to the user not being authenticated - and this same configuration works well for regular http).
Another strange thing as well - I am not able to use Add Service Reference from Silverlight on https.
Specifically, when I check https://www.gamersworldmap.com/GWMServer/Game.svc
then it says that meta information is available at
svcutil.exe https://eweb702.dotnetplayground.com/GWMServer/Game.svc?wsdl
i.e., it seems that https://www.gamersworldmap.com is somehow an alias to https://eweb702.dotnetplayground.com - and that could I guess explain the problems with not sending the authentication ticket on requests after log in.
I asked discountASP.net support about this but just said this had to do with my application configuration. However - I have been trawling the net for some time now and I see no trace of any others having a similar problem - my configuration is also quite "plain" and by the book.
Thus - have any of you used forms authentication with SSL and Silverlight (I have the free Rapid certificate from discountASP.net) and made it work?
Thanks in advance!
Best regards
--Egil