Redirect after Multipass-login

Niaj_Morshed
New Member
2 0 0

I have set an option in one website to autologin by multipass with the help of this article(https://help.shopify.com/en/api/reference/plus/multipass). But
When a user logged-in then he is redirected to the /account/ page. But I want to redirect the users to the home page(/). I couldn't find a solution to this. How can I do this?

0 Likes
Jason
Shopify Expert
10360 158 2004

Have you looked at the return_to property? Does this not do what you need?

I jump on these forums to help and share some insights. Not looking to be hired, and not looking for work.

Don't hand out staff invites or give admin password to forum members unless absolutely needed. In most cases the help you need can be handled without that.


★ http://freakdesign.com.au ★
Niaj_Morshed
New Member
2 0 0

Thanks @Jason

Just now, I have seen that. and it's solved.

0 Likes
softmarshmallow
New Member
3 0 0

Here. user `withRedirect` from https://github.com/softmarshmallow/multipass-js "multipass-js"

0 Likes