I install Sitecore XP 9.1 using SIF but identity server doesn't work. If I delete the IIS site for it I can still log into Sitecore.
Nothing in log for Sitecore or identity server. Anyone help?
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
The most likely cause if you're not seeing any errors is that the new security configuration is disabled in Web.Config. It needs to be:
<add key="security:define" value="Sitecore" />
You can still log in to Sitecore as if it's disabled or it can't connect to the identity server it will fall back to the old sitecore login page.
You should be able to see an error in the logs if this config is enabled, but it still can't connect to the identity server:
ERROR Unable to reach an external identity provider
The identity server URL is set by default on the
identityServerAuthority Sitecore variable in
Make sure that it is set correctly, that the identity server is up and running. If you go directly to your identity server URL, it should show the sitecore login page. If not, check your identity server config in
Config\production\Sitecore.IdentityServer.Host.xml which should have correct settings for CertificateThumbprint, ConnectionString, AllowedCorsOrigins, and ClientSecrets. The ClientSecret value needs to be matching in Sitecore's ConnectionStrings.config