https://github.com/dipongkor/FBA-Custom-Login-Page

Step 1. From Sharepoint Central Administration page. Click New to create a New Web App.

 sharepoint form 认证-DESTLIVE

 

 - Creat New Web App continue,

 sharepoint form 认证-DESTLIVE
sharepoint form 认证-DESTLIVE

 

Step 2. Start “aspnet_regsql.exe” to connect SQL Database and follow screenshots.

sharepoint form 认证-DESTLIVE
sharepoint form 认证-DESTLIVE
sharepoint form 认证-DESTLIVE
sharepoint form 认证-DESTLIVE

 

Step 3. From IIS, configure “Connection and Providers”.

sharepoint form 认证-DESTLIVE
sharepoint form 认证-DESTLIVE
sharepoint form 认证-DESTLIVE
sharepoint form 认证-DESTLIVE
sharepoint form 认证-DESTLIVE

** Follow the same Connection and Providers to "SecurityTokenServiceApplication"
sharepoint form 认证-DESTLIVE

Step 4. Back to Sharepoint Central Administration page, then enable “Forms Based Authentication” for created new application on step 1.

sharepoint form 认证-DESTLIVE
sharepoint form 认证-DESTLIVE
sharepoint form 认证-DESTLIVE

Provider names are created providers on IIS in step 3.
sharepoint form 认证-DESTLIVE
sharepoint form 认证-DESTLIVE

Step 5. Go to Sign In page to check “Authentication Page” shows as expected.

sharepoint form 认证-DESTLIVE

Step 6. In IIS setup, Set Default Provider for Roles and Users.

sharepoint form 认证-DESTLIVE
sharepoint form 认证-DESTLIVE

Step 7. Add preferred users to be “Forms Authenticated”.

sharepoint form 认证-DESTLIVE

Step 8. Back to login page and test login.

sharepoint form 认证-DESTLIVE
sharepoint form 认证-DESTLIVE