2

I have one master drupal site that offers basic functionality for users.(it's a shop); and we have some other sites, for example one news site, one marketplace, one job finding service etc. I want every "spin off" site be a separate site, but users sign up once, then login on each subsite without needing to sign up again. and I want to show nodes of subsites at master site in the user profile. which is the best way of sharing users and contents, since domain access module is not a good option, because we are going to produce lots of data and keeping all data in one database is hard. we want to be able to separate any high traffic spin off in the future, but with domain access, all should be at one database. what options do I have for sharing users and contents without sharing database?

  • what I mean is someting like stackexchange that there is no need to sign up anytime. is it possible to do that with OpenID or OAUTH etc?

3 Answers 3

1

I tried almost every possible scenarios,

The best thing for me was use of Oauth2 server module for master site to act as authentication server and OpenID Connect module for other sites which use out-of-box authentication.

This solution can be done without needing to merge databases, or host sites on same server, or periodic synchronization. the only challenge I have is that authentication server must use https, and I'm going to buy certificate for my host.

0

Check Single Sign On Multiple Domain

Single Sign On Multiple Domain module allows login to multiple drupal websites from a single website. If you have multiple drupal website installed at either on same server or other server, then you just need to login to one and it will login you to other websites as configured in the configuration page. For this you have to install this module in all website and do required settings.

1
0

Not sure about users, Nikhils answer seems ok.

For nodes, you could provide a rss feed using views from the base site, and the use the feeds module on the other sites to import nodes using the content from those feeds, you can set this to run every 30 minutes if you wish.

2
  • Isn't any similar solution for users? for example each time user sign ups, with rule we import to other site
    – shidsun
    Commented Jun 24, 2015 at 14:26
  • Yeah possibly. Perhaps you can populate users with feeds as well. Ive only ever done it with nodes, and it works brilliantly for that.
    – Collins
    Commented Jun 25, 2015 at 11:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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