How do I create a custom authentication module?
Versions:
4.70,
FAQ number:
96,
Old FAQ number: 977
Q: How do I create a custom authentication module?
A: Create an authentication module and add the module to EPiServer's chain of authentication providers, see sample code below.
Note that you can only capture a login when using forms authentication. If Windows authentication is used, the user authentication is handled automatically by EPiServer behind the scenes. As a consequence, there is no need to run Login.aspx when using Windows authentication. Login.aspx is only run when forms authentication is used.
Here is how you create your own authentication module: