Try Now
More in this section

Forums / Security / Sharing login between 2 Sitefinity sites

Sharing login between 2 Sitefinity sites

2 posts, 0 answered
  1. Cameron
    Cameron avatar
    42 posts
    27 Jul 2009
    05 Jun 2011
    Link to this post
    Just what the title says... I've got two separate Sitefinity websites that happen to be running on the same top level domain and even on the same server. Currently one uses Active Directory authentication for login and the other is using the standard built-in login method. I'd like to tie them together using the AD login such that the user has to visit Site 1 using Active Directory, but then once logged in, can click a link and go directly into Site 2 without logging in again.

    I probably just made that sound a lot more complex than it is! Any help is appreciated!

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    25 Oct 2016
    08 Jun 2011
    Link to this post
    Hi Michael ,

    This is called SingleSingOn. According to MSDN you can use forms Element for authentication (ASP.NET Settings Schema)


    Optional attribute.

    Specifies an optional domain to set on outgoing forms-authentication cookies. This setting takes precedence over the domain that is used in the httpCookies element.

    This attribute is new in the .NET Framework version 2.0.

    The default is an empty string ("").

    When using cookie-based authentication tickets, this setting specifies the cookie’s domain value. The default value is an empty string, which causes the browser to use the domain from which it was issued (such as www.yourdomain.com). In this case, the cookie will not be sent when making requests to subdomains, such as admin.yourdomain.com. If you want the cookie to be passed to all subdomains you need to customize the domain attribute setting it to “yourdomain.com”.

    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered