Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Dominik 1 post 21 karma points
    Mar 19, 2013 @ 23:57
    Dominik
    0

    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!

  • Kevin Jump 2343 posts 14890 karma points MVP 8x c-trib
    Mar 20, 2013 @ 00:59
    Kevin Jump
    0

     

    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)

Please Sign in or register to post replies

Write your reply to:

Draft