1

I am using federated authentication to login/signup to the websites in multi sites architecture. No issues for the websites but for the cms when I open cmsurl.com/sitecore it takes to the website's login page

I have created a patch config that has:

  1. pipeline processor,
  2. map entries for identityProvidersPerSites,
  3. and the designated identity provider for identityProviders.

Wondering what can cause this? may be config patch order or something? Any insights or recommendations would be really helpful.

2

We have used the following patch for the CM site to force login to Azure when they hit the CM backend and for admin path we force to identity server login.

<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:set="http://www.sitecore.net/xmlconfig/set/" xmlns:role="http://www.sitecore.net/xmlconfig/role/" xmlns:security="http://www.sitecore.net/xmlconfig/security/">
  <sitecore role:require="ContentManagement">   
    <sites>
    <!-- Force redirect to Azure login page -->
      <site name="shell" set:loginPage="$(loginPath)shell/SitecoreIdentityServer/IdS4-AzureAd" />
    <!-- Force redirect to regular login page -->
      <site name="admin" set:loginPage="$(loginPath)admin/SitecoreIdentityServer" />
    </sites>
  </sitecore>
</configuration>
4
  • 1
    any way to distinguish in Standalone setting
    – ashesh
    Sep 26 at 3:48
  • 1
    This works in standalone too, if you are asking for XP0.
    – Bala
    Sep 27 at 4:27
  • Hi @Bala I added this ContentManagement or Standalone but still External IdentityProvider intercepts the login for the CMS
    – ashesh
    Sep 27 at 20:47
  • Please use the sitecore\admin\showconfig.aspx and see which one is effective and taking effect.
    – Bala
    Sep 29 at 16:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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