multi site single signon

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
2/19/2015 1:49:37 AM
Gravatar
Total Posts 7

multi site single signon

Hi dear, is there a way to register a user as an author in the main site that can access with the single signon in subsites? With this configuration, can the normal user register itself to individual subsites? Thanks in advance for your collaboration. Regards
2/19/2015 9:36:36 AM
Gravatar
Total Posts 2239

Re: multi site single signon

Hi,

If you have 'Related Sites Mode' enabled, a single user registration will apply to all sites.

HTH,
Joe D.

2/21/2015 8:10:59 AM
Gravatar
Total Posts 7

Re: multi site single signon

Hi dear,

thank you for reply.

I use the follow settings in my user.config:
  <add key="AllowMultipleSites" value="true" />
  <add key="UseFoldersInsteadOfHostnamesForMultipleSites" value="false" />
  <add key="UseRelatedSiteMode" value="true" />
  <add key="RelatedSiteID" value="1" />
  <add key="RelatedSiteModeHideRoleManagerInChildSites" value="false" />

  <add key="ForceSingleSessionPerUser" value="true" /> (tried also with false)


It seemed to me that the first time I was able to access in single Sigon to a child site with admin user, I logged out from child site and are no longer able to access the single Sigon.

What could be the cause of this anomaly?

Thanks for callaboration.

Regards
 

2/23/2015 12:22:57 PM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: multi site single signon

In our installation we are using separate sites, but I read in this thread that switching to related sites mode should work mostly transparently. You might have to do some database updates if you want to keep users that didn't exist in the RelatedSiteID.

Are you getting any errors logged in Administration, System Log?

2/25/2015 12:57:26 PM
Gravatar
Total Posts 7

Re: multi site single signon

Hi,
I have no errors in the file currentlog.config .
I tried to change the variable RelatedSiteModeHideRoleManagerInChildSites several times in user.config and I added blank lines in the web.config file for recompiling , but with no effect .
So I'm wondering if the mojoPortal feel the changes immediately or should I do some action to reconfigure the portal ?
I also tried to bring in local the site and the db , but equally I can't access with single signon.
I need to delete some cache or there are other tricks to apply? 

I'm hosted on mochahost with an ASP.NET Windows Hosting Plans, do you know if there are any problems with this hosting Provider?


Please let help me, because I'm going crazy !

Thank you in advance.

Regards

2/25/2015 3:55:27 PM
Gravatar
Total Posts 128

Re: multi site single signon

Please explain more about your problem. You have said "I can't access with single signon". How are your child sites configured (give examples of the URLs of their home pages)?

We have several sites running in the mode you are describing, using hostnames for the different sites (e.g. our sites are a.site.com and b.site.com) and single sign-on works fine. However, do not expect that signing in on one site will automatically sign you in on the others - you have to sign in on the other sites as well, but you can use the same credentials. So "related site mode" means the same user accounts work across all the sites, but you still need to log in on each one.

We have never actually tried it, but I think if you were running child sites based on folder names, with related sites mode, then you would only have to log in once for all sites, as the authentication cookie would be shared by all sites. I could be wrong here!

2/25/2015 3:56:56 PM
Gravatar
Total Posts 128

Re: multi site single signon

And yes, if you save any change to web.config mojoPortal restarts the site and reads all new settings from user.config.

2/27/2015 9:02:58 AM
Gravatar
Total Posts 7

Re: multi site single signon

Thanks CrispinF,
now the situation is more clear.
For single signon I meant that a user registered on the main site and accessing to this site its authentication remained valid even on secondary sites.
Do you think there is a way to get this behavior described above?
Maybe using a link with a javascript for access to subsites or a button that uses some mojoPortal api?

Thank you for collaboration.

Regards

 

2/28/2015 5:37:51 AM
Gravatar
Total Posts 128

Re: multi site single signon

As I said above,

We have never actually tried it, but I think if you were running child sites based on folder names, with related sites mode, then you would only have to log in once for all sites, as the authentication cookie would be shared by all sites. I could be wrong here!

3/1/2015 1:17:27 PM
Gravatar
Total Posts 7

Re: multi site single signon

Okay,
running subsites based on folder names, the user signed the main site remain signed on subsite. 
On first time all seems runned well, but after few time the subsite has lost the skin style.
I am sure that the desired skin folder exists in "/data/sites/2/skins/...", becouse load correctly page icon and all skin javascript.
Do you have any idea to solve this other problem?

Thank you in advance.

3/2/2015 10:05:08 AM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: multi site single signon

Check System Log again. If there's an error loading the skin it will fall back to a default so the site won't just fail to load. But the underlying error should be logged.

You must sign in to post in the forums. This thread is closed to new posts.