Configuring FW to use Integrated Windows Authentication

Learn to configure FlowWright to use integrated Windows Authentication

Last published at: August 13th, 2024

FlowWright supports Windows-integrated authentication. After a user signs in to a Windows domain on their PC or machine, FlowWright recognizes their identity without requiring a username and password on specific browsers.  A prompt will be displayed to authenticate for browsers that don't remember it.

 

Configuring Windows authentication

Follow the steps below to switch the application to Windows authentication mode:

  • Edit the web.config file of the web project.
  • Set the mode attribute of the <authentication> element in the <system.web> section to Windows:

<authentication mode="Windows">

  • Save the modified web.config file.
  • Close all browsers. Open the website in a new browser and try to access the administration interface (<site domain>/admin).

If you encounter a 401 error, please continue to the Enabling Windows authentication in the IIS section below.

With this configuration, the system automatically authenticates users from Windows Active Directory. 

When Windows authentication is enabled, the "Sign out" menu option in the top right corner is not displayed. 

 

Enabling Windows authentication in IIS

If you are experiencing the 401 error with Windows authentication, you need to enable Windows authentication in your IIS:

  • Start the Internet Information Services (IIS) Manager.
  • Locate and select your site in the IIS tree.
  • Double-click the Authentication icon.

 

Windows Authentication is missing from the list

If your IIS installation does not contain Windows Authentication by default, you need to install it:

  • Go to Control Panel -> Programs and Features -> Turn Windows features on or off.
  • Expand Internet Information Services -> World Wide Web Services.
  • Under Security, select the Windows Authentication check box.
  • Click OK to finish the configuration.

Windows Authentication appears as an option in IIS website authentication settings.

  • Select Windows Authentication.
  • Click Enable in the Actions menu.

IIS now allows Windows authentication on your site.