HomeDev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsGitHubNuGetDev CommunitySubmit a ticketLog In

Configure forms authentication

Describes how to configure forms authentication.

The forms authentication model in Optimizely Content Management System (CMS) uses ASP.NET's default membership and role system in ASP.NET. Configure membership and role providers in web.config file for the website. The CMS sample sites have several predefined users, groups, and roles for managing editorial content and administering ecommerce tasks.

To configure forms authentication, set the authentication type in the <system.web> section of the web.config.

<authentication mode="Forms">
  <forms name=".EPiServerLogin" 
         loginUrl="Util/login.aspx" 
         timeout="4320" 
         defaultUrl="~/" />
</authentication>