Skip to content

Multi Login not working #2752

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
digicali opened this issue Jan 14, 2023 · 9 comments · Fixed by #3055 or #3229
Closed

Multi Login not working #2752

digicali opened this issue Jan 14, 2023 · 9 comments · Fixed by #3055 or #3229
Labels
Bug: Accepted Bug has been confirmed, is reproducible, and ready to work on. member-functionality

Comments

@digicali
Copy link

Followed Multi Site Login
But it's not working.
Each website have correct cookie settings.
When you try to login to a website, the next website return

Error Caught

Call to a member function filter() on null

Auth.php:719

Or too many redirects popup sometimes too

@intoeetive intoeetive added the Bug: Accepted Bug has been confirmed, is reproducible, and ready to work on. label Mar 1, 2023
intoeetive added a commit that referenced this issue Apr 4, 2023
Resolved #2752 where cross-domain multi-site login was not working
intoeetive added a commit that referenced this issue Apr 4, 2023
Resolved #2752 where cross-domain multi-site login was not working
@appricosa
Copy link

Seriousy? I am encountering this issue NOW, AFTER the update. Never had this before. Please undo whatever you have done here. When I log in via the regular login form on a multi-site installation, I receive the error "multi_auth_redirect_site_not_found". Only works with CP login but not with login_form tag. You can see this wonderful "feature" here: https://kunden.renvert.com/

@TomJaeger
Copy link
Contributor

@appricosa Just to confirm.. what version of EE are you on?

@appricosa
Copy link

Hi @TomJaeger – I just updated from 7.2.12 to 7.2.13

@intoeetive
Copy link
Contributor

@appricosa how does your multi_login_sites config value look like? Are all URL listed there valid sites sharing same EE installation?

@appricosa
Copy link

appricosa commented Apr 5, 2023

Hi @intoeetive – I gotta hand it to you – your support here is insanely fast. I think, that was the right hint to fix this issue. I have added this line to the user config, and now it seems to have been fixed:

$config['multi_login_sites'] = "https://renvert.com/|https://kunden.renvert.com/";

Just strange that this error did not appear in earlier versions without this explicit line..
Thanks a lot guys – I was about to roll back to 7.2.12

@intoeetive
Copy link
Contributor

What was it set to before? Or you didn't have it set at all? (but you think multi -sites login still worked some time ago?)

@appricosa
Copy link

appricosa commented Apr 5, 2023

I had not set that line at all – I had followed the instructions here in the docs Multi Site Login where it says, this line was necessary for different top level domains, but not, if the second site is a subdomain with a shared cookie domain.
So something must have changed here regarding behaviour of subdomain sites.

@intoeetive
Copy link
Contributor

Thank you. I'll reopen the issue so we could test that. Maybe we broke something indeed (

@intoeetive intoeetive reopened this Apr 5, 2023
@appricosa
Copy link

Okay, but thanks a lot for the quick response. That did fix it for my multi-site instance running one top level plus sub-domain. Happy to share any more details if necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug: Accepted Bug has been confirmed, is reproducible, and ready to work on. member-functionality
Projects
None yet
4 participants