Try our conversational search powered by Generative AI!

One login to admin for multiple sites

Vote:
 

I have an enterprice setup (Epi 8) with multiple sites and different domains and I'm trying to solve so that the editors don't have to login on each domain to be able to edit the sites.

I found the uiUrl solution that makes it possible to have the same ui domain to all the sites, but when I do the pages that doesn't have the same main domain as the uiUrl domain stops working (in EPi admin).

Is there some way to get this to work?

#132966
Aug 21, 2015 14:56
Vote:
 

is CodeBase/database for all those sites same?

Regards
/K

#132967
Edited, Aug 21, 2015 15:28
Vote:
 

Yes, it's one setup with multiple sites in the same solution. 

#132970
Aug 21, 2015 16:06
Vote:
 

Hi,

by default when using Forms Authentication, authentication is stored in a cookie per domain in the visitors browser. By default usng forms authentication this can't be achived.

This can be achived by introducing some custom provider (Consider scecurity aspects, you may have to hijack sessions), but there are many other options that you can consider depending on your setup. 

Visit  http://world.episerver.com/documentation/Items/Developers-Guide/EPiServer-CMS/8/Security/Security/ if you have not done before.

Regards

/K

#132972
Aug 21, 2015 16:24
Vote:
 

Hi,

If you set up all websites on subdomains to the same domain and then configure the authentication to share the cookie, it should work. Please see http://http://stackoverflow.com/questions/18492576/share-cookie-between-subdomain-and-domainstackoverflow.com/questions/18492576/share-cookie-between-subdomain-and-domain and for the config see the first answer here http://stackoverflow.com/questions/2056686/asp-net-forms-authentication-and-multiple-domains

#132977
Aug 21, 2015 16:58
Vote:
 

So basically you would end up with...

Public domains for visitors:

  • www.domain1.com
  • www.domain2.com

Domains for editors:

  • domain1.editdomain.com
  • domain2.editdomain.com
#132981
Aug 21, 2015 17:04
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.