function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
MarrisMarris 

Unable to login into sites using customer portal authentication

Hi,

 

I have created a login page using the default login components provided when Sites is enabled in the org.

 

The login is handled using the SiteLogin component and the SiteLogin controller, the statrURL is set to the landing page.

 

When I provide the customer portal user credentials in the login, It goes to the landing page but shows an error stating there is a problem with my session

Error: There is a problem with your session

 

When I try to click on the other links in the site which also requires the session they are displayed properly and there are no further errors even when going back to the landing page. Please help me out.

 

Thanks

Marris

hemantgarghemantgarg

As you are saying it is logged-in and displayed landing page, but the issue comes on landing page , in that case you can try to debug it by adding a debug log for portal user.  I think you will beable to track the issue by that.