Redirect To Second Storefront

Hello,

I am looking for a way to redirect users from a specific user group to a second storefront. Preferably, the redirect would happen after they log in.

I have searched and found way to redirect a user to a page, but not a different storefront/url.

Any help is appreciated.

Thanks

You can use the login_user_post hook in the fn_login_user function (app/functions/fn.users.php) to check customer user group and make redirect