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?
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.

| improve this answer | |
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.

| improve this answer | |
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.

| improve this answer | |
  • Isn't any similar solution for users? for example each time user sign ups, with rule we import to other site – shidsun Jun 24 '15 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 Jun 25 '15 at 11:04

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.