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?
instead of the below page:
Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.Visit Stack Exchange
Sitecore Stack Exchange is a question and answer site for developers and end users of the Sitecore CMS and multichannel marketing software. It only takes a minute to sign up.Sign up to join this community
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
Forcing a Loginsection in this blog symsoftsolutions.com/blog/2020/01/02/… ?