Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sitecore: loginPage?

Tags:

sitecore

I am trying to set a loginPage value on a Sitecore site in the web.config. The file referenced in the loginPage is an Sitecore item, so it is not a psycical page on the server. No matter how i reference to it, it doesnot work. I get one of 2 errors (depending on how i refrecen to the file);

The resource cannot be found. Error executing child request for /sitecore/login. (The path beeing the one i referenced in the web.config)

Any ideas?

like image 225
kastru Avatar asked Mar 01 '10 12:03

kastru


People also ask

How do I create a login page on Sitecore?

In Sitecore Rocks, expand the core database and go to: /sitecore/shell/client/Applications/FormsBuilder/Layouts/Actions . Click Add, and click New item. In the Add New Item dialog box, search for and click the Speak-BasePage template, enter the name: LoginUser.

How to log in Sitecore?

To log in to the Sitecore Experience Platform: In a browser, enter the name of your website followed by /sitecore in the address field. For example, http://www.mywebsite.net/sitecore. On the login page, enter your user name and password, and click Log in.

How to open Sitecore Launchpad?

The Sitecore Launchpad is the central location for accessing all Sitecore functionality. You access the Launchpad by clicking the icon in the top left of the application window.


1 Answers

The explanatory comment in web.config says that 'loginPage' attribute should be The path to the login page to use. Must point to a physical file or a page in a site that does NOT require login. 'Require login' means denied Read permissions for the Anonymous user. This Anonymous user is the one in the domain specified for this site.

For instance, if you want to have login page set for the 'website' site, you should make sure that extranet\Anonymous has read permission to the item you specified.

Hope this helps.

like image 60
Yan Sklyarenko Avatar answered Jan 04 '23 10:01

Yan Sklyarenko