Skip to content

C.2. Admin portal configuration

Jimmy Bourque edited this page Nov 30, 2026 · 1 revision

Français

Configuration Documentation

All supported settings for the AdminApi project JbtiEvolution.OraklLearn.AdminAPI are in the appsettings.json file.

AppSettings

Key Type Description Default
AppSettings.LogoutRedirectUrl string Absolute URL used after logout completes.
AppSettings.GetUserProfileMaxConcurrency int Max parallel profile-fetch operations from the storage. Increase carefully to avoid throttling. 14

Example

"AppSettings": {
  "LogoutRedirectUrl": "https://admin.orakllearn.example.com/",
  "GetUserProfileMaxConcurrency": 14
}

AzureAd

The source code has been tested with Azure Entra ID. All values relate to the integration using an Entra ID App Registration.

Key Type Description Default
AzureAd.Instance string Microsoft Entra ID / Azure AD authority base URL. This value should not be changed. https://login.microsoftonline.com/
AzureAd.Domain string Azure AD tenant domain. <domain-in-azure>
AzureAd.TenantId string Azure AD tenant identifier. <tenant-id>
AzureAd.ClientId string Application client ID registered in Azure AD. client-id>
AzureAd.CallbackPath string OIDC callback route or absolute callback URL in this app. Use the public URL when AdminAPI is reached through Azure Application Proxy. /signin-oidc or https://admin.orakllearn.example.com/signin-oidc
AzureAd.Audience string Expected audience for API authentication tokens. This value is the same of TenantId. <client-id>
AzureAd.Scope string API scope used for authorization. The value is defined to App Registrations > Expose an API > Application ID URI. <scope>

Refer to the Microsoft documentation for guidance on managing App Registration

Example

"AzureAd": {
  "Instance": "https://login.microsoftonline.com/",
  "Domain": "<AZURE_AD_DOMAIN>",
  "TenantId": "<AZURE_AD_TENANT_ID>",
  "ClientId": "<AZURE_AD_CLIENT_ID>",
  "CallbackPath": "https://admin.orakllearn.example.com/signin-oidc",
  "Audience": "<AZURE_AD_AUDIENCE>",
  "Scope": "<AZURE_AD_SCOPE>"
}

OpenID

Among all OpenID claims, a minimum set of claims is available when using Microsoft Entra ID as the OpenID Connect issuer.

Key Type Description Default
OpenId.UserIdentityIdClaim string The claim name added to the access token by the OpenID issuer to identify the signed-in user. With Microsoft Entra ID, preferred_username is commonly used as a human-readable username, such as an email address or UPN. preferred_username
OpenId.UserDisplayNameClaim string The claim name added to the access token by the OpenID issuer that contains the display name of the signed-in user. With Microsoft Entra ID, this usually maps to the user’s full display name. name

Microsoft Entra ID references

Example

"OpenId": {
  "UserIdentityIdClaim": "preferred_username",
  "UserDisplayNameClaim": "name"
}

Storage

Key Type Description Default
Storage.AccountName string The storage account name.
Storage.AccountKey string The access key retrieved from the Azure Storage Account resource.
Storage.ProfileContainer string The blob container name for user and system profiles.
Storage.CatalogContainer string The blob container name for storing books and exams, including multimedia content.
Storage.TracingContainer string The blob container name for transaction tracing data.
Storage.RevisionProjectContainer string The blob container name for revision projects created by users while practicing exams.
Storage.ExamEditorCachingContainer string The blob container name for user-cached exam edition data.
Storage.BookEditorCachingContainer string The blob container name for user-cached book edition data.

Example

"Storage": {
  "AccountName": "orakllearn",
  "AccountKey": "<STORAGE_ACCOUNT_KEY>",
  "ProfileContainer": "profile",
  "CatalogContainer": "catalog",
  "TracingContainer": "transaction-tracing",
  "RevisionProjectContainer": "exam-revision-project",
  "ExamEditorCachingContainer": "exam-editor-caching",
  "BookEditorCachingContainer": "book-editor-caching"
}

Indexer

Key Type Description Default
Indexer.QueueName string The queue name for event-driven messages that maintain indexing and relationship data. When a user is deleted, all relationships with content and published content are removed or deleted according to the options selected by the admin. indexing
Indexer.ConnectionString string Connection string having send right.

Example

  "Indexer": {
    "QueueName": "indexing",
    "ConnectionString": "<CONNECTION_STRING>"
  }

Mutex

Please refer to the data-integrity documentation for details on the settings.

Security

Please refer to the Common Security Configuration documentation for details about the available settings. Implement only the settings section according to the following requirements. Additional common security settings will be ignored.

  "Security": {
    "ApiRateLimit": { },
    "ImageDownloader": { }
  }

Clone this wiki locally