This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » eZ Publish 5 Platform » Same login for multiple admin...
expandshrink

Same login for multiple admin siteaccesses

Same login for multiple admin siteaccesses

Monday 17 November 2014 8:45:22 am - 2 replies

We have a site running with multiple admin siteaccesses, all on the same domain, e.g:

  • domain.com/admin
  • sub1.domain.com/admin
  • sub2.domain.com/admin

The site is administered by a single set of editors and they would like to only have to log in once, and then be logged into all the admin siteaccesses. I.e. an editor logs in on domain.com/admin and is then also logged into sub1.domain.com/admin and sub2.domain.com/admin.

Is this possible with eZ 5?

Monday 17 November 2014 9:40:31 am

Hello

Basic stuff is to use the same session name. Be also careful to correctly configure the session cookie (domain and path).

Monday 17 November 2014 11:37:25 am

Thank you, this is a working solution per se.

Since we are using Varnish (3.0.2) as reverse proxy, I had to add a return (pass) for /admin, so that the editors get the proper response when accessing the admin siteaccesses they did not log into directly. Without this, they would get the cached login form (Unless they did a hard refresh and got the request handled by Apache, which is not viable). Do you have any input on this solution? The site is running on eZ 5.3.2.

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from