I like to make Drupal 8 in CentOS 7 with Apache 2.4, mySQL and PHP 5.6 environment with requirements:

  1. Multi-site within domain (site0.example.org, site1.example.org, etc.)

  2. Shared local user account with SSO (userid, password, and all of user entities - name, email, address, phone, ...)

  3. Different/dedicated content databases for each site

  4. Different/dedicated users' role for each site

So, The user should be able to login in any sites and maintain the session across sites (SSO) but they may have different role, access and permission at different sites.

For example:

I'm login at site 1 (site1.example.org) and I have admin role in site so I can administer site 1.

But when I move to site 2 (site2.example.org) - I don't need to re-login again (SSO) but I may have a different role in site 2 (e.g authenticated user - view only).

What is the Best approach for this requirements? Bakery? OpenLDAP? Saml? Or any other solutions?

closed as too broad by Shawn Conn, Adrian Cid Almaguer, Pierre.Vriens, Krishna Mohan, googletorp May 5 '16 at 8:43

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • The best approach is going to depend on your requirements. For instance, if you're working with a highly-integrated Windows environment, then LDAP probably is the way to go. However the only requirement/assumption here is "shared user globally". This probably means that bakery, OpenLDAP, CAS, etc... are not options because they do not share users globally, but maintain their own users table. Can you make your question more specific and less subjective? – mradcliffe May 2 '16 at 16:54
  • 1
    Thank you for the reply and apologise if it looks subjective, i have edited the question hopefully it is more meaningful. Reaponding to your comment, the system is running on CentOS servers or none windows environment. The requirement is basically combination of: multisite within domain+shared local user(with SSO)+site dedicate content (different content DB) and users' role. – AnD May 2 '16 at 17:11

Browse other questions tagged or ask your own question.