We have two ASP.Net apps, each points to a subdomain of the parent domain.
We have implemented the single sign using forms authtication, everything works fine if both the apps are hosted on same server.
If we move one of the app to a different server, it stops working
We are using the same values for following fields on two diff servers
Machine Key
Cookie Domain Name (We are using parent domain for both so that cookie is shared across two sub domains)
Form Authentication Cookie Domain Name
Form Authentication Cookie Name
We also tried by having same ASP.Net run time version for APP domain and Pipe Line mode, still no success.
Note: In our case two subdomains points to diff IP address, which I am sure is fine because cookie is linked to the parent domain and not the IP address.
Intersting thing is Session cookie is shared between two apps but not the forms authetication cookie
Is there any other setting which needs to be taken care if the apps are on two diff servers.
saurabh.sond...
Member
30 Points
44 Posts
Single Sign on - Forms Authentication - Diff Servers
Jun 07, 2012 04:35 AM|LINK
We have two ASP.Net apps, each points to a subdomain of the parent domain.
We have implemented the single sign using forms authtication, everything works fine if both the apps are hosted on same server.
If we move one of the app to a different server, it stops working
We are using the same values for following fields on two diff servers
We also tried by having same ASP.Net run time version for APP domain and Pipe Line mode, still no success.
Note: In our case two subdomains points to diff IP address, which I am sure is fine because cookie is linked to the parent domain and not the IP address.
Intersting thing is Session cookie is shared between two apps but not the forms authetication cookie
Is there any other setting which needs to be taken care if the apps are on two diff servers.
Thanks
Saurabh Sondhi
</div>saurabh.sond...
Member
30 Points
44 Posts
Re: Single Sign on - Forms Authentication - Diff Servers
Jun 07, 2012 08:48 AM|LINK
The issue has been reoslved by following
1) Installing Window 2008 Service Pack 2 on all machine (In our case Service pack 2 was missing on one of the machines)
2) Installing Security Path Update for Forms Authtication
http://www.microsoft.com/en-us/download/details.aspx?id=28570
3) Installing all the available update for windows (Not sure if this was helpful or trick was done by #1 and #2)