1

I am upgrading Sitecore 8.1 to 9.1. After resolving a number of config and dll-related errors, if I try to reach /sitecore I get redirected to

/identity/login/shell/SitecoreIdentityServer

Which causes a 404. Now, I do have the Identity Server setup, but its URL is

https://sc-identityserver/

So I'm suspecting a routing error somewhere.

Question

Is the inability to hit "/identity/login/shell/SitecoreIdentityServer" symptom of a routing error? If so, how do I troubleshoot it?

2 Answers 2

5

SitecoreIdentityServer in the URL /identity/login/shell/SitecoreIdentityServer is just an identity provider name which is configured in Sitecore.Owin.Authentication.IdentityServer.config. It should be SitecoreIdentityServer for everyone until we change the config manually for some reasons. So basically you no need to worry about redirection to /identity/login/shell/SitecoreIdentityServer when accessing the Sitecore, because Sitecore in-built provider will take care of this and redirect you to the respective identity server.

But you can verify the below items to just make sure that your update is proper.

Verify the Sitecore.Owin.Authentication.IdentityServer.config, you should be having a variable which contains the identity server host details something like the below,

<sc.variable name="identityServerAuthority" value="https://pocsite.identityserver/" />

Update the value if your identity server hosted in a different URL. Also make sure your Sitecore host name is allowed in your identity server, you can confirm this by navigating to the identity server root and verify the below host file

.\Identity\Config\production\Sitecore.IdentityServer.Host.xml

<AllowedCorsOrigins>
            <AllowedCorsOriginsGroup1>http://pocsite1.sc</AllowedCorsOriginsGroup1>
            <AllowedCorsOriginsGroup2>http://pocsite2.sc</AllowedCorsOriginsGroup2>
</AllowedCorsOrigins>

If you don't see your sitecore host name in the above xml file then just add it.

0

check the host file if the entry for the identity server is ther or not

2
  • Thanks! The Identity Server - that is, sc-identityserver - is configured in IIS, and in the hosts file I set it to 127.0.0.1 - works fine. The problem is the relative URL /identity/login/shell/SitecoreIdentityServ from my main solution URL. Commented Mar 4, 2019 at 10:49
  • @EmanueleCiriachi did you get any solution? I am getting the same issue while setting a scaled environment. Commented Oct 20, 2020 at 17:08

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.