Configure Identity Server
  • 14 Nov 2023
  • 1 Minute to read
  • Dark
    Light

Configure Identity Server

  • Dark
    Light

Article summary

  1. Create folder in this location of the SharePoint Server C:\inetpub\wwwroot\. (any available port can be used)
    Warning
    Do not place Identity Server folder into the C:\inetpub\wwwroot\wss\VirtualDirectories folder.
  2. Download Identity Server and unzip it to the folder created under wwwroot (e.g., C:\inetpub\wwwroot\IdentityServer).
  3. Open the appsettings.json file and locate the AppSettings section.
    JSON
    {
        "AppSettings": {
            "BaseVariables": {
                "CertificateCN": "CN=your_cert",
                "RedirectUris": "https://lanteria_hr/_trust/default.aspx",
                "clientId": "your application id",
                "tenantId": "your tenant id",
                "realm": "urn:sharepoint:name",
                "multitenant": false
            }
            },
            "Logging": {
                "IncludeScopes": false,
                "LogLevel": {
                    "Default": "Warning"
                }
            }
    }
  4. Replace the base variables with the relevant values, where:
    • Certificate is certificate generated during the previous step (e.g., sp13g)
    • RedirectUris is URL of the SharePoint web application with _trust/default.aspx added (e.g. http://sp13g/_trust/default.aspx)
    • Client ID is ID of the Entra ID application
    • Tenant ID is ID of the Entra ID directory (tenant)
    • Realm is unique identifier of the SharePoint trusted provider used when creating new trusted provider in SharePoint
    • Multitenant: set to true if users from multiple tenants will be using this application to sign in to Lanteria HR.
  5. Request external DNS for the SharePoint machine that hosts the Identity Server (for example, authclient1.lanteriaonline.com).

Was this article helpful?