Add the new provider to the Sitefinity CMS providers collection

To add the provider to the Sitefinity CMS provider’s collection, you can use the Sitefinity CMS backend. Another way is to manually add the provider to the SecurityConfig.config file, in the ~/App_Data/Sitefinity/Configuration folder.

Perform the following:

  1. In Sitefinity CMS backend, click Administration » Settings » Advanced.
  2. To add a new membership provider, in the left pane, click Security » Membership Providers » Create new.
  3. Fill out the following details for the new Membership Provider:
    Name CustomMembershipProvider
    Title Customer Support
    ProviderType SitefinityWebApp.Providers.CustomMembershipProvider, SitefinityWebApp
    Enabled True
  4. Click Save.
  5. Under parameters, add the following parameters and their values:
    applicationName CustomMembership/
    enablePasswordReset True
    maxInvalidPasswordAttempts 5
    minRequiredNonalphanumericCharacters 0
    minRequiredPasswordLength 7
    newPasswordLength 8
    passwordAttemptWindow 10
    passwordFormat Encrypted
    requiresQuestionAndAnswer False
    requiresUniqueEmail True
    enablePasswordRetrieval True
  6. Restart the application.
    After the application restart, you can see that the new provider is active by navigating to the /Sitefinity login page. On Sitefinity CMS login page, in the Authentication Provider dropdown box, you can see the new provider.

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Web Security for Sitefinity Administrators

The free standalone Web Security lesson teaches administrators how to protect your websites and Sitefinity instance from external threats. Learn to configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?