After installing 9.1 I see the following error on the login screen:
Steps I followed:
- Updated XP0-SingleDeveloper with ".dev.sc.local" to the site names
- Ran the installation using XP0-SingleDeveloper.ps1 and SIF 2.0
- Updated IIS host binding to use https for "sc910.dev.sc.local".
Update
While setting up a new 10.2 instance I encountered the error "invalid_request". This was caused by the AllowedCorsOrigins
not containing the correct url. The log messages in Identity showed something like the following:
Invalid redirect_uri: "https://scmsx.int.sxp.local/identity/signin"
Turns out I mistakenly put the wrong url in the Sitecore.IdentityServer.Host.xml
file.
<?xml version="1.0" encoding="utf-8" ?>
<Settings>
<Sitecore>
<IdentityServer>
<Clients>
<DefaultClient>
<AllowedCorsOrigins>
<!-- This should show scmsx instead of identityx -->
<AllowedCorsOriginsGroup1>https://identityx.int.sxp.local</AllowedCorsOriginsGroup1>
</AllowedCorsOrigins>
</DefaultClient>
</Clients>
</IdentityServer>
</Sitecore>
</Settings>