5

Reading the documentation here:

https://doc.sitecore.com/developers/91/sitecore-experience-management/en/sitecore-identity-server-authentication.html

"The SI server uses identityserver-contrib-membership. This project allows the ASP.NET 2.0 Membership Database to be used as the Identity Server User Store in IdentityServer4"

And

"You configure the connection string to the Membership database with the Sitecore:IdentityServer:SitecoreMembershipOptions:ConnectionString setting"

I get the impression that the Identity server can use user information from any domain stored in the core database, but it does not actually use the ASP.NET 2.0 Membership Provider, and will not use any custom membership providers (configured in web.config/membership element and domain.config)

3
  • did you ever get an answer to this? I'm stuck with this horrible old membership provider as it was a requirement for custom auth on sitecore a few versions ago I believe. – geedubb Aug 3 '20 at 15:17
  • 1
    yes, the answer is that identity server cannot use membership providers. As the accepted answer says, there are ways to customize the identity server (identityserver-contrib-membership is an example of that). However it seemed more complicated, and I have not examined that more. – Hannes Aug 4 '20 at 22:33
  • thanks, appreciate the reply – geedubb Aug 5 '20 at 10:28
0

I'm not an expert, but I've done a bit of research.

You are correct that the Identity server uses the user information stored in the Core database, but isn't implementing a Membership Provider and won't use a custom membership provider configured in the web.config.

The Sitecore Identity Server implements IdentityServer4. They are using IdentityServer's Membership Service to access Membership data in an Identity context. With some a respectable effort, you could probably branch the config and add another copy of the MembershipService to the Identity Server with your own data.

I know it's also possible to disable the Identity Server entirely and fall back to the old-style login page. I'm not sure if doing that will allow you to use a Membership Provider in the usual fashion, but that should be an easy experiment to run.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.