I have requirement something like redirect from one site to another site during login time.Here more explanation I have b2b site.If b2b customer belong to this site it works like same behaviour of OOTB.If b2b customer belong to another site then redirect to their site.
Example: If have two site like adidas.com and nike.com if i go to adidas shop login page and login with b2b customer if customer belong to adidas shop then go to adidas shop. if customer not belong to adidas. He belong to nike shop then redirect to nike shop from same login page. Please someone can suggest to me how to achieve this behaviour.
Thanks in advanced