Setting FBA as Default Sign In Page
Posted
Tuesday, June 01, 2010 2:32 PM
by
Itay Shakury
A very common scenario is to setup a SharePoint 2010 site to use both Windows Authentication, and Forms Based Authentication.
When a user opens your site, and click the “sign in” link, it get this page:
In this screen, the user needs to select “Forms Authentication” from the drop down list, and then it is being redirected to the FBA login page.
This step of choosing the authentication provider is not needed for everyone who is not the administrator, which is 99% of the users. Moreover, it might confuse the average user who doesn’t know, and doesn’t need to know, what is Windows and Forms Based Authentication.
A better solution would be to get the users directly into the FBA login page in the first place.
To do that, follow these steps:
- Open Central Administration, and click “Manage web applications”.
- Select the “Default” Zone.
- Find the setting “Sign in Page URL”.
- Select Custom Sign in page, and enter the address of the FBA sign in page: “/_forms/default.aspx”.
- Confirm, and exit.
Now if you click the “Sign In” link, you are taken directly to the FBA sign in page.
There’s only one thing to consider here: what if you wanted to log in using Windows Authentication? This is usually relevant only for administrators, so they can manually browse to the windows login form using this URL: “/_windows/default.aspx”.