Configuring forms-based authentication

The application submits a form to the SharePoint server to authenticate the user. If ADFS is enabled, then the authentication is redirected to the ADFS server. ADFS validates the user credentials, and then returns a token to the application.

This feature is available only in SharePoint 2013 and SharePoint 2010 with ADFS 2.0 configured with Kerberos.

  1. Log in to the server where ADFS is configured.

  2. Using a text editor, open the web.config file in C:\inetpub\adfs\ls.

  3. Search for the <localAuthenticationTypes> tag, cut the entire "Forms" element, and then paste it to the top of the list.

    Sample configuration

    <localAuthenticationTypes>
    		<add name="Forms" page="FormsSignIn.aspx" />
    		<add name="Integrated" page="auth/integrated/" />
    		<add name="TlsClient" page="auth/sslclient/" />
    		<add name="Basic" page="auth/basic/" />
    </localAuthenticationTypes>
  4. Save the changes.