Unable to get an individual membership provider for working with Sitecore 6

I followed the directions in the Membership Providers document provided by Sitecore, but I was unable to get my membership provider to work correctly.

In particular, in the web.config file, I changed the "realProviderName" attribute in the sitecore provider to point to my provider. However, this did nothing.

I realized that the defaultProvider attribute was set to “switch”, so I changed this to point directly to my provider and it worked, but I'm not sure if I am causing problems elsewhere by doing this ...

Has anyone done this before?

+3
source share
1 answer

I think what you probably want to do is install defaultProvider="sitecore", and then sitecorechange the provider name to realProviderNamethe name of your custom provider. The switch is used if you want to host a specific domain (i.e. extranet) in a different membership database.

I found that the Sitecore example gives in my docs because it really works.

+3
source

Source: https://habr.com/ru/post/1720123/


All Articles