Configure Sitecore Identity Server
Configure the Identity Server Instance
To configure the Sitecore Identity Server instance:
-
On the Sitecore Identity Server instance, open the
âŠ\Config\production\Sitecore.IdentityServer.Host.xmlfile. -
Update the connection string to use the security database as the
Data Source: -
Ensure that the
AllowedCorsOriginsGroup1, and thePasswordRecoveryUrlsettings contain the URL of a Sitecore instance:NoteIn a scaled environment, these settings must point to a Content Management server.
-
Ensure that
ClientSecret1is the same as thesitecoreidentity.secretkey that you use in theâŠ\App_Config\ConnectionStrings.configfile on the CM instance. -
Ensure that any configuration changes you have implemented are reconfigured in separate configuration patch files.
-
Add any custom plugins to the
{SI_server_root_folder}\sitecore\folder. -
Start Sitecore Identity Server.
Configure a Sitecore Identity client
Every Sitecore Experience Platform instance is a client of Sitecore Identity Server, by default. To configure a Sitecore instance to use Sitecore Identity Server for logging in, register Sitecore Identity Server on the instance:
-
In the Sitecore instance, in file:
âŠ\App_Config\Sitecore\Owin.Authentication.IdentityServer\Sitecore.Owin.Authentication.IdentityServer.configIn the
identityServerAuthorityvariable, set the URL of the Sitecore Identity Server:<sc.variable name="identityServerAuthority"value="https://SitecoreIdentityServerHost" /> -
Restart the Sitecore instance.