- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2020
09:14 AM
05-22-2020
09:14 AM
multisite: "login as customer" to another domain than admin domain
Using multisite with diffent domains (i.e. www.aaa.com, xxx.aaa.com, yyy.aaa.com and www.bbb.com)
No problem logging in as frontend user in any of the sites,
or accessing admin page hosted at: www.aaa.com/admin.
Want to "login as customer" from admin page to a user at site www.bbb.com
- Access admin page www.aaa.com/admin
- search for customer
- selects "login as user"
- new tab opens at www.bbb.com/customer/account/login/referer/
- error in frontend "No login permissions"
(magento 2.3.3) setup used:
Default config:
- base url: www.aaa.com
- cookie path:
- cookie domain:
Main website:
- base url: aaa.com
- cookie path:
- cookie domain: .aaa.com
xxx website:
- base url: xxx.aaa.com
- cookie path:
- cookie domain: .aaa.com
bbb website:
- base url: www.bbb.com
- cookie path:
- cookie domain: .bbb.com
I imagine there is some trouble with the cookies and domain switching. But how can I access Login As User from another domain?
Any idea or orientation is welcome!
Please ask if I should provide more info.
/thanks
/javier
Labels:
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2022
12:22 PM
02-07-2022
12:22 PM
Re: multisite: "login as customer" to another domain than admin domain
I am having a similar issue on Magento 2.4. Did you ever find a solution?