If I wanted to force users to go through a login for the entire site. I would previously add requireLogin and loginPage attributes to my site configuration.

In 8.2 I am unable to do this. However in 8.1 this works. Any ideas how this has changed? Or am I doing something wrong and missing something.

<site name="website">
    <patch:attribute name="loginPage">/sitecore modules/shell/login.aspx</patch:attribute>
    <patch:attribute name="requireLogin">true</patch:attribute>

The attributes work for admin site configuration.

Read access for extranet/anonymous was removed for the protected area of the page as well.

Any ideas?

  • Please check that you denied access to extranet\Anonymous, rather than to other anonymous accounts. Then open the site in incognito mode, because you already have a logged-in admin session on the site. Please come back with results. Oct 5, 2016 at 11:52
  • Can confirm this has been reproduced by Sitecores own team. Awaiting response @DmytroShevchenko
    – Anicho
    Oct 5, 2016 at 12:38
  • Can confirm this was due to custom code, not an issue with sitecore :).
    – Anicho
    Feb 22, 2017 at 16:22

1 Answer 1


You have to tell which areas of your site require the login.

Remove read access for extranet/anonymous user for the item which should be protected with login.

  • This is also true, I did this already and am still getting the issue. I have raised a question with sitecore support.
    – Anicho
    Oct 4, 2016 at 19:35
  • Ok, I have added this to the answer. Oct 4, 2016 at 20:22
  • I will add to this that after you deny Read Permission to say Home item for extranet\Anonymous user. You need to publish master database to web to get this working.
    – bdoshi
    Sep 22, 2017 at 15:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.