-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Cannot use login as customer in multisites installations if I open the homepage first #39523
Comments
Hi @ioweb-gr. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
Hi @engcom-Bravo. Thank you for working on this issue.
|
Hi @ioweb-gr, Thanks for your reporting and collaboration. We have tried to reproduce the issue in Latest 2.4-develop instance and we are not able to reproduce the issue.Kindly refer the screenshots. The customer was able to logged in successfully in Web2. Kindly recheck the issue in Latest 2.4-develop instance and elaborate the steps to reproduce if the issue is still reproducible. Thanks. |
I believe the issue is that you're using the same domain for the website. Please use different websites with different root domains , not even subdomains. e.g. example.com |
Preconditions and environment
Steps to reproduce
Steps to Replicate the Bug in Magento 2:
Set up two websites in Magento 2:
https://primary-domain.com
.https://different-domain.com
.Create a customer in Web2:
Customers > All Customers
.Test scenario using the same browser session:
https://primary-domain.com/admin
) and log in as an admin.https://primary-domain.com
).Attempt to log in as the customer in Web2 via the backend:
Customers > All Customers
.Possible Cause:
Magento's session management and customer login mechanisms may conflict due to cross-domain cookies, domain-specific sessions, or scope mismatches between Web1 and Web2.
Expected result
The customer should be logged in successfully in Web2.
Actual result
The customer login fails on the frontend of Web1.
Additional information
No response
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: