Loading...

Last updated: Oct 27 2016

Area: Episerver CMS Applies to versions: 10 and higher
Other versions:

Forms authentication

The forms authentication model in Episerver 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 Episerver 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 authenication, 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>

Related topics


Do you have feedback on this documentation? Send an email to documentation@episerver.com. For development-related questions and discussions, refer to our Forums on https://world.episerver.com/forum/