Snipcart redirects to HomePage on Sign in

Hi guys, when a customer signs in on my website, they are redirected to the home screen and not their snipcart dashboard. Is this the default behaviour and how can I override it

You can use the SDK

I’ve tried that using window.location.replace but it still ignores the new url and redirects to the home page regardless. Thank you