HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog 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" 
             defaultUrl="~/" />

What’s Next