+ Start a Discussion
David Benkoel 3David Benkoel 3 

Custom Login page using LWC


In the past, I've designed a custom Visualforce Page as the default login page of my Digital Experience.

To do so, I developed my VFP and associated it to a controller.
Then, in All Sites > my Digital Experience > Workspace > Administration > Login & Registration > Login Page Type, I choosed the Visualforce Page option, then picked up my VFP file.

Now, I'd like to use a LWC for my custom login page.

How can I achieve this?
The first issue I'm facing is that in the Login Page Type select box, I can't see any "LWC" option whatsoever.

Thank you
You can use Aura.
mukesh guptamukesh gupta
Hi David,

Please follow below url:-

https://help.salesforce.com/s/articleView?id=sf.networks_custom_login_self_reg_lightning.htm&type=5 (https://help.salesforce.com/s/articleView?id=sf.networks_custom_login_self_reg_lightning.htm&type=5)

this is for AURA component

if you need any assistanse, Please let me know!!

Kindly mark my solution as the best answer if it helps you.