About this question
have built a custom LWC login page under the experience builder site. It uses the site. login method and custom apex controller to find out the authentication of a user. After the authentication, the page goes back to LWC. When navigating to the home page, I am finding that the navigationMixin is providing a URL, which opens a new tab, but it cannot refresh the present page.
Even after applying [removed].href, the navigation problem is still there. It does not navigate the user. My question is, how can the user be redirected to the home page after the authentication happens in Experience Cloud LWC?