HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityLog In

Forms authentication

This topic describes how to configure forms authentication.

The forms authentication model in Optimizely uses the default membership and role system in ASP.NET. Configuration of membership and role providers is done in web.config file for the website. The Optimizely sample sites have a number of predefined users, groups and roles, both for managing editorial content as well as for administering the e-commerce 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>

What’s Next
Did this page help you?