Umbraco Multi-Tenant Membership

We were working on a multi-tenant application using Umbraco. Umbraco supports the concept of membership, but its membership does not support multi-tenant in any manner. So, We were faced with the problem of how to address this issue. We saw three potential solutions:

  1. Use custom built membership
  2. Modify Umbraco’s Membership
  3. Choose a modern membership provider

We originally built our membership system back in about 2003. While it worked and might have been sufficient for some of the current requirements, it was clearly antiquated. It did not have support for many new features such as claims based authentication/authorization; federated identity, two factor authentication, etc. It had more than outlived its lifetime.

We could have modified Umbraco’s membership, but Umbraco’s membership also suffered from some of the same antiquities. It was a role based membership; not quite up-to-date with today’s claims based systems. Given this, it is quite likely that Umbraco may make changes to their membership in coming releases. If we modified Umbraco’s code, we would likely face future maintenance costs.

So, we decided to look around at some solutions for modern Asp.Net security that would support multi-tenant. After review a couple options, we settled on Brock Allen’s Membership Reboot. For a list of features for the Membership Reboot, see https://github.com/brockallen/BrockAllen.MembershipReboot/.

For many applications, we believe the Membership Reboot will work out of the box with minimal modification. For the integration with Umbraco multi-tenant, there were three primary tasks: dependency injection update, tenant configuration, and content integration. I will write about each of these in subsequent posts.



About The Author

Avatar
Jonathan Folland

Jonathan Folland is technologist with over 20 years experience in a variety of capacities. He held the position of Vice President of Operations of one of the fastest growing companies in the world. He has led high volume e-Commerce operations and is an expert at mixing technology and finance to produce high return results.


Related Articles