SingleSignOn
No edit summary
No edit summary
Line 1: Line 1:
When running Turnkey in Intraweb scenarios you will want to use SSO or single sign on for your authenticated users.
When running Turnkey in Intraweb scenarios, you will want to use SSO or single sign-on for your authenticated users.


In IIS do this:
In IIS, do this:
*AppPool - Managed Pipeline set to Integrated mode.
*AppPool - Managed Pipeline set to Integrated mode
*Authentication - Disabled: Anonymous Authentication
*Authentication - Disabled: Anonymous Authentication
*Authentication - Disabled: ASP.NET Impersonation
*Authentication - Disabled: ASP.NET Impersonation
*Authentication - Enabled: Windows Authentication
*Authentication - Enabled: Windows Authentication


In the MDriven Turnkey web config do this
In the MDriven Turnkey web config, do this:
  <appSettings>       
  <appSettings>       
     ...
     ...
Line 22: Line 22:
   </authorization>           
   </authorization>           
  </system.web>
  </system.web>
Tip: Consider to add the modified Web.config.Something to _AssetsTK - this way it will be good availble in turnkey catalog if replaced by turnkey re-deploy
Tip: Consider adding the modified Web.config.Something to _AssetsTK. This way, it will be available in the Turnkey catalog if it is replaced by Turnkey re-deploy.
[[Category:MDriven Turnkey]]
[[Category:MDriven Turnkey]]

Revision as of 10:21, 15 February 2023

This page was created by Hans.karlsen@mdriven.net on 2017-03-31. Last edited by Edgar on 2025-01-20.

When running Turnkey in Intraweb scenarios, you will want to use SSO or single sign-on for your authenticated users.

In IIS, do this:

  • AppPool - Managed Pipeline set to Integrated mode
  • Authentication - Disabled: Anonymous Authentication
  • Authentication - Disabled: ASP.NET Impersonation
  • Authentication - Enabled: Windows Authentication

In the MDriven Turnkey web config, do this:

<appSettings>      
   ...
   <add key="owin:AutomaticAppStartup" value="false"/>       <-- Add this to stop the turnkey standard OWin
</appSettings>  
<system.web>        

  <authentication mode="None" />      <--- remove this line

  <authentication mode="Windows" />         <-- Add this and the lines below
  <authorization>             
      <deny users="?"/>          
  </authorization>          
</system.web>

Tip: Consider adding the modified Web.config.Something to _AssetsTK. This way, it will be available in the Turnkey catalog if it is replaced by Turnkey re-deploy.