Today I would like to share with you the outcomes of my, rather simple solution, of multiple contexts and login which automatically logs user in to all of them, no matter which one of the is used to log in.
The contexts are web
, where each of them have own translations handled by Babel.
Here's what I did to make the login work for all of the contexts:
I tried using placeholder in Login call &contexts=`pl,web`
I checked users and their user groups, both users and their respective user groups have access to all contexts and its resources
I tried assigning postHook to Login which would log in user to all contexts as suggested by Bob in this http://forums.modx.com/thread/82028/allowing-member-access-to-multiple-contexts
I also tried changing session_cookie_path to "/" as mentioned in this post http://forums.modx.com/thread/?thread=79375&page=2
I cleared the cache, flushed permissions and flushed sessions every time a change has been made
Only postHook worked for me but since it has been applied, the redirection after login does not work...
It logs in user properly but refreshes the same page instead of performing redirect
I'm out of ideas at the moment so maybe someone here knows what may be causing this behaviour?
[ed. note: ellipsis_89 last edited this post 6 years, 2 months ago.]