I have an existing web portal where I want to provide a link to an Umbraco site. The catch is that I want to be able to log into the Umbraco administration when the user logs into the portal (or clicks the link to the Umbraco site) so that the user does not have to enter the same password twice. All portal users are also able to log into the Umbraco control panel already, they have the same user name.
The portal is written using ASP.NET 4, and is on the same server, just a different web address. Portal authentication is forms based, against a backend database of user credentials.
If the web address uses the same root domain (i.e portal.company.com and umbraco.company.com) you can change the Domain on the forms config to the root (i.e Domain=".company.com" then the two sites will share the cookie, so in theory can both be logged on.
depending on how hte membership of the portal is managed you might be able to use the same membership provider on both the portal and umbraco.
Single sign-on with Umbraco
Hi All,
I have an existing web portal where I want to provide a link to an Umbraco site. The catch is that I want to be able to log into the Umbraco administration when the user logs into the portal (or clicks the link to the Umbraco site) so that the user does not have to enter the same password twice. All portal users are also able to log into the Umbraco control panel already, they have the same user name.
The portal is written using ASP.NET 4, and is on the same server, just a different web address. Portal authentication is forms based, against a backend database of user credentials.
Any ideas how I can achieve this?
Thanks in advance!
If the web address uses the same root domain (i.e portal.company.com and umbraco.company.com) you can change the Domain on the forms config to the root (i.e Domain=".company.com" then the two sites will share the cookie, so in theory can both be logged on.
depending on how hte membership of the portal is managed you might be able to use the same membership provider on both the portal and umbraco.
this post may help http://stackoverflow.com/questions/2056686/asp-net-forms-authentication-and-multiple-domains ;
if you can't you will need a way of creating users in both your portal and umbraco. one method (which we use for our AD)
1. create a login control for umbraco, that at login - checks against hte portal and creates the umbraco user if they don't exist in umbraco
2. logs the user into umbraco (using the cookie if possible)
is working on a reply...