cancel
Showing results for 
Search instead for 
Did you mean: 

Seamless login for multiple stores

Seamless login for multiple stores

Hello,

 

I have a specific problem to solve, and I'm not sure what is the best approach.

There will be a website with 2 stores that will be on different domains.

 

Magento supports the following functionalities out of the box:

 

1. Customers
Has two options for sharing customer accounts:
• Global - Shares customer account information with every website and store in the Magento installation.
• Per Website - Limits customer account information to the website where the account was created.

2. Cart/Wishlist sharing
This is tested and both sharing of wishlist and cart work properly. Our test case was one Magento website, that has 2 stores under it. Both of those stores are on different urls (domains) - asdf.com and zxcv.com


3. Login
The one thing that does NOT work out of the box is seamless transition from one website/store to another. There magento requires customer to re-enter their login credentials.

 

Question

Is there a way to make same customer logged-in in both websites without requiring them to re-enter their credentials? Or to rephrase it - when customer is logged in to one store (asdf.com), when he goes to second store (zxcv.com) to make it work without requiring him to re-login again.

 

There have been some solutions in the past for Magento 1 but most of them were not quite elegant.

 

Any ideas would be appreciated.

2 REPLIES 2

Re: Seamless login for multiple stores

Hi @anatolij_p,


I would like to say that is possible with Magento out-of-the-box (at least, in theory).

Today I'm dealing with sopme strange behaviors on a multi-website + multi-subdomain configuration so I can't be sure if the theory is right, there is a bug or I need to take some vacation time. :-)

Now, being a little bit more serious, you should be able to to it without starnge solutions.

 

Can you share which part you weren't able to solve?

Re: Seamless login for multiple stores

I can login to both sitea.com siteb.com.


But for example when you go do something in sitea.com and when you want to go to siteb.com (open some random link) you are not logged in. You still need to re-enter the password.