Repository navigation
C.5. Catalog configuration
All supported settings for the Catalog project JbtiEvolution.OraklLearn.Catalog are in the appsettings.json file.
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.nstance | 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.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. The Catalog module implements the OpenID Connect (OIDC) On-Behalf-Of (OBO) flow. The WebApi and AdminApi applications must have a delegation access to the Catalog application. Using Entra ID, the delegation must be configured within the Catalog app registration.
"AzureAd": {
"Instance": "https://login.microsoftonline.com/",
"Domain": "<AZURE_AD_DOMAIN>",
"TenantId": "<AZURE_AD_TENANT_ID>",
"ClientId": "<AZURE_AD_CLIENT_ID>",
"Audience": "<AZURE_AD_AUDIENCE>",
"Scope": "<AZURE_AD_SCOPE>"
}Among all OpenID claims, only a minimum set is available when Microsoft Entra ID is used as the OpenID Connect issuer.
The catalog back-end service is not accessed directly by users. Instead, either the API or AdminAPI connects to the catalog service. The catalog service receives a downstream access token from the calling service.
| 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": {
"UserIdentityIdClaim": "preferred_username"
}| Key | Type | Description | Default |
|---|---|---|---|
| AllowedHosts | string | Hosts allowed by the ASP.NET Core application. * allows all hosts. |
* |
"AllowedHosts": "*"| Key | Type | Description | Default |
|---|---|---|---|
| CatalogStorage.AccountName | string | The storage account name. | |
| CatalogStorage.AccountKey | string | The access key retrieved from the Azure Storage Account resource. | |
| CatalogStorage.CatalogContainer | string | The blob container name where index, book, and exam contents are stored. |
"CatalogStorage": {
"AccountName": "orakllearn",
"AccountKey": "<STORAGE_ACCOUNT_KEY>",
"CatalogContainer": "catalog"
}Settings used by catalog mechanisms.
| Key | Type | Description | Default |
|---|---|---|---|
| Catalog.BookIndexBlobName | string | The name of the book index file. | indexes/book-index.json |
| Catalog.ExamIndexBlobName | string | The name of the exam index file. | indexes/exam-index.json |
| Catalog.BucketLockingMaxDuration | string | The amount of time (milliseconds) the application will wait while the cache is being modified, to prevent multithreading collisions. Setting this value too high may cause latency and unexpected behavior. | 5000 |
| Catalog.CacheSyncInterval | string | Delay in seconds between each cache refresh and persistence of the file to storage. Note that this delay represents the estimated time for an index to be refreshed after the indexer has added or removed an index entry. | 10 |
"Catalog": {
"BookIndexBlobName": "indexes/book-index.json",
"ExamIndexBlobName": "indexes/exam-index.json",
"BucketLockingMaxDuration": 5000,
"CacheSyncInterval": 10
}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": { }
}

https://orakllearn.com · Author: Jimmy Bourque · https://jbti-evolution.com
- Main page
- Overview
- Foundation
- Integration
- Flow
- Using OraklLearn
- Configuration
- Monitoring