Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
this is my first multilanguage project where we use different domains for each language. When a user logs in on the German domain and he changes the language after that he will see the "permission denied" warning when he was on a page which is only for logged in users. I think in cookie will be saved the German domain and after changing the language he is not logged in as it is as if he is on another project. Is there a way to keep the user logged in no matter which language he was logged in first?
Best,
Tobias
Comments
Comment #1
marinex CreditAttribution: marinex commentedHi, you can use Single Sign On module, or if you have subdomains like en.yourdomain.de or es.yourdomain.de so you can set the cookies in settings.php.
M.
Comment #2
webflo CreditAttribution: webflo commentedYes marinex is right. Thanks for the explanation!