More in this section

Forums / Developing with Sitefinity / SSO with ASP.NET Web Site & Sitefinity

SSO with ASP.NET Web Site & Sitefinity

2 posts, 0 answered
  1. Byzza
    Byzza avatar
    89 posts
    09 Jul 2007
    20 Sep 2012
    Link to this post
    Hi,  Just wondering if anyone can help point me in the right direction or better still provide some code examples.

    Basically I have a sitefinity site that will be controlling the security for itself an a couple of other web sites that either myself or other coleages have developed.

    Unfortunatly I've never actually done anything with Claims authentication before yesturday let alone do done anything with SSO and claims.

    From what I understand in SF all I need to do is set each of the apps as RelyingParties,  which I've done.

    I then need to add a heap of stuff to the web.config to get my apps to comunication to sitefinity and this is where I appear to be getting stuck.

    Below is currently what I have in the microsoft.identitymodel that appears to be the main section that needs to be configured

    I haven't done any coding yet. 
    When I load my app at the moment it redirects to SF fine.  I login, but then it isn't redirecting back but instead just dumps the token to the page.
          <add value="http://localhost:51380/WearMonitoring/" />
              <wsFederation passiveRedirectEnabled="true" issuer="http://bknewho-app/Extranet/Sitefinity/Authenticate/SWT"  realm="http://bknewho-app/Extranet/" signInQueryString="redirect_uri=http://localhost:51380/WearMonitoring/"   requireHttps="false" >
              <cookieHandler requireSsl="false" />
            <!--Following are the claims offered by STS 'http://localhost:49973/WearMonitoring_STS/'. Add or uncomment claims that you require by your application and then update the federation metadata of this application.-->
            <claimType type="" optional="true" />
            <claimType type="" optional="true" />
        <issuerNameRegistry type="Microsoft.IdentityModel.Tokens.ConfigurationBasedIssuerNameRegistry, Microsoft.IdentityModel, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
  2. Stanislav Velikov
    Stanislav Velikov avatar
    1113 posts
    18 Sep 2017
    24 Sep 2012
    Link to this post

    The configurations for SSO and the web.config change needs to be updated to include the SSO configs, but when configuring SSO from Sitefinity backend the changes are reflected in App_Data/Sitefinity/Configuration/SecurityConfig.config
    Here is a video with the setup of SSO with Sitefinity.

    All the best,
    Stanislav Velikov
    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