Passing redirectUri as paramter in loginWithRedirect() hook

Can I do this loginWithRedirect({redirectUri: “http://localhost:5173/homepage”})