2

I'm using sitecore 9.3.

Is there a way to redirect to AD login page instead of the sitecore identity server default login page?

This Page:

enter image description here

instead of the below page:

Sitecore Default Login Page

2
  • Did you check Forcing a Login section in this blog symsoftsolutions.com/blog/2020/01/02/… ? Commented Jun 16, 2020 at 17:55
  • @HimanshuAgarwal I dont want to create another site, I only want to change the default login page to redirect to Azure AD login page. Is there another way? Commented Jun 17, 2020 at 9:19

1 Answer 1

4

Yes, you need to set loginPage attribute of shell site to $(loginPath)shell/SitecoreIdentityServer/IdS4-AzureAd.

This will redirect /Sitecore/Login or /Sitecore to AzureAd login page directly

Here is patch config-

<?xml version="1.0" encoding="utf-8" ?>
<configuration  xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:set="http://www.sitecore.net/xmlconfig/set/">
  <sitecore>
    <sites>
      <site name="shell" set:loginPage="$(loginPath)shell/SitecoreIdentityServer/IdS4-AzureAd" />      
    </sites>
  </sitecore>
</configuration>

This is also documented HERE

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.