I have a custom portal/community registration page created using LWC, which uses:
To create the user.
Once the user is created, I want to automatically log them into the portal and redirect them to an internal page.
I've tried using:
Site.login(username, password, null);
true back to the LWC and doing a client-side redirect to the page, but it did not work.
- What is wrong with the above approach?
- How can I fix it?